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 problem

Discussion in 'Plesk for Linux - 8.x and Older' started by mpearson, Jan 26, 2007.

  1. mpearson

    mpearson Guest

    I am having a problem getting the domain alias to work. I have the original domain set up and working, then I went to the domain alias tab and set up the alias name and clicked web and click ok. When I go to a web browser and try to go to the alias page I get the default domain page for our plesk box (not the domain not configured page). Do I need to do something else to get this to work?
  2. gee_fin

    gee_fin Guest


    Did you find the solution to this? I'm having the exact same problem.

    Setup a domain, works perfectly, setup a domain alias, it resolves to the server's default domain. I've been through the sql tables in SSH and all seems to add up, it's got my very confused...
  3. llitz123

    llitz123 Guest

    having the same issue. We have aliases that work, yet for some reason one we just added does not work. get default plesk page. Plesk version: v8.1.1_build81070322.16 os_FedoraCore 4

    anyone resolve this?
    I see posts about empty cname records, yet I don't see that issue. I can add an alias to the domain and then remove the alias and re-add it and every time I type the alias into a browser, I get the default plesk page.
  4. wildeep

    wildeep Guest

    I found that disabling then enabling the domain alias fixed this problem.
  5. llitz123

    llitz123 Guest


    That is one of the many things I tried along with deleting/recreating the alias, restarting web server and DNS as well as rebooting the entire web host server. One of those things worked and now the alias is working.
  6. emypeople

    emypeople Guest

    Have the same problem! Was just writing a post about it myself and discovered this. Have tried recreating alias, restarting ALL services, etc. We do not use DNS on this server, the dns is hosted externally(don't know if that makes any diff). Here's the relevant part of the "/var/www/vhosts/emypeople.net/conf/httpd.include" file.

    ServerName emypeople.net:80
    ServerAlias www.emypeople.net
    UseCanonicalName Off
    ServerAlias emypeople.com
    ServerAlias www.emypeople.com
    SuexecUserGroup emy-ftp psacln

    A solution would be great!
  7. MarijnKoesen

    MarijnKoesen Guest

    We got the same bug... and the disabling / enabling hack works for us as well.


    * Create a new domain
    * Create an alias
    * Disable the alias
    * Enable the alias
    * Restart apache2

    ... and the alias should work.

    You might want to check whether email works for the aliassed domain, as it wasn't in our case.
    Restarting the whole server fixed the last problem (just restarting Qmail might work as well, but I wanted to see if it still worked after restarting as well).
  8. Hostasaurus@

    Hostasaurus@ Guest

    Confirmed, same problem happens here on 8.1.1 but the disable/enable trick works around it.
  9. mcalthrop

    mcalthrop Guest

    doesn't work for me...

    I'm running 8.1.1 (using the plesk DNS), and the above steps don't work for me.

    I even make sure I stop & start the httpd service (as opposed to restarting it) - and check in between that the server is not responding - but still no joy.

    I tried another approach: look for and modify every test.php file in the /test/php directory on the system to try and find out which file is actually being displayed - but still the original is being displayed when I browse to the domain alias.

    So this would indicate that a cached version is being served up (I did a hard refresh in my browser to ensure that the cache was not browser-related).

    And what is also strange is that when I remove the domain alias via plesk, the page is still displayed in a browser...

    This is quite a significant issue.

    Any further ideas anyone?

  10. meat1oaf

    meat1oaf Guest

    Same problem here...

    Wait a minute, no response from anyone at SW-Soft regarding this issue. DO they even READ their own forums????
  11. danliker

    danliker Silver Pleskian Plesk Certified Professional

    Feb 15, 2006
    Likes Received:
    no, as i know they don't read this forum
  12. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    Jul 5, 2007
    Likes Received:
    Seattle Area
    Per Plesk Support Staff

  13. philjohn

    philjohn Guest

    The apache config can be forced to update by issuing

    /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=[original domain name]

    where [original domain name] is the domain name of the account (not the alias) and of course without the square brackets ([ ]).

    Granted it's pretty lame that plesk cannot even get this right and issue a patch that runs this command.