• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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