1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

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

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by ssd_adam, May 9, 2011.

  1. ssd_adam

    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.


  2. breun

    breun Golden Pleskian

    Jun 28, 2005
    Likes Received:
    It sounds like all you need to do is add domain2.co.uk as a domain alias to domain1.co.uk in Plesk.