• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Domain Alias Rewrite

A

AlexDB

Guest
Hi,

We have a domain setup with a couple of aliases for other domains pointing to the same hosting space.

Now on our previous server which was run without a control panel it was easy enough to enable the domain url rewriting to the main domain for all the aliases.

This was done by just setting the servername as the primary domain in the vhost conf and adding all the other domains as server aliases, however on plesk it doens't seem to work like this and instead choses to display the domain of the one used to access the site instead of the primary domain.

Is there any way to change this behaviour, or do I need to modify the conf files manually?
 
If you have SSH access to the server, you should be able to manually do the same thing you did before.... create or modify the vhost.conf(s) and put the mod_rewrite code there, then restart Apache. This will take care of the website(s). Then if you want the emails for the additional domains to go to the same user's in the main domain, you will have to modify the Qmail control files (not sure if you want/need the emails too, or just the sites).
 
Back
Top