• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How do I map a domain to another on same server?

S

ssd_adam

Guest
Hi Guys,

I am looking for a way to be able to set up domain2.co.uk as a DNS & Email domain with or without hosting, that is re-directed to a subfolder in domain1.co.uk when visited in a browser.

The key point is that it needs to keep the same URL because I have a .htaccess file in domain1.co.uk that takes requests for domain2.co.uk and has a site served up from a subfolder (mentioned above) in domain1.co.uk

Any ideas on how I might do this? I've read about Mod-rewrites, ServerAlias, vhost.conf, and to be honest I don't know which way to turn....

Any help would be appreciated.

Thanks

Adam
 
It sounds like all you need to do is add domain2.co.uk as a domain alias to domain1.co.uk in Plesk.
 
Back
Top