codomains going to shared IP

Discussion in 'Server Operation' started by Ovidiu, May 17, 2006.

  1. Ovidiu

    Ovidiu Active Member


    yesterday I pointed a domain to my server, set up a codomain like described in the manual without any forwards, I just want both domains to point to the same content.

    when I browse to the codomain I end up inside my shared IP folder.

    any clues why?
  2. falko

    falko Super Moderator Howtoforge Staff

    Is your new Co-Domain listed in Vhosts_ispconfig.conf?
  3. Ovidiu

    Ovidiu Active Member

    I found this entries:

    SuexecUserGroup web2_info web2
    ServerAdmin [email protected]
    DocumentRoot /var/www/web2/web
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $
    ScriptAlias /cgi-bin/ /var/www/web2/cgi-bin/
    AddHandler cgi-script .cgi is the codomain, is the main domain.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You added a co-domain: but you missed to add a co-domain:

    host: www
  5. Ovidiu

    Ovidiu Active Member

    I added that after posting but it does not help at all !?

    I tried saving again but with hostname www it does not get saved to Vhosts...

    I just manually entered as ServerAlias and it works...

    no idea why it did not get saved.
  6. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page