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

Domain Alias Rewrite

Discussion in 'Plesk for Linux - 8.x and Older' started by AlexDB, Jun 28, 2006.

  1. AlexDB

    AlexDB Guest

    0
     
    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?
     
  2. AlexDB

    AlexDB Guest

    0
     
    *BUMP*

    Someone must have an idea surely?
     
  3. jamesyeeoc

    jamesyeeoc Guest

    0
     
    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).
     
Loading...