• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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