• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Domain Mapping

I

iazjrc

Guest
I'm quite new to Plesk and have been looking for a function allowing me to map two or more domains whereby domainname1.com/index.html points to the same file as domainname2.com/index.html. I can't find anything in the control panel and have been googling for some time with no luck.
Previous hosts have been able to do this with an annual fee for the pleasure, so I know it can be done but I don't know where to start.

Could anyone point me in the right direction?

Many thanks.
 
Very simple. Create vhost.conf in the domain.com/conf directory. In that file, put
ServerAlias www.domain2.com or any other names you want to use. Then you need to trigger Plesk to re-configure- with a command like:
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=$1

good luck!
 
Back
Top