new site is pointed main site

Discussion in 'Installation/Configuration' started by mishko, Jan 26, 2007.

  1. mishko

    mishko New Member

    Hi I`ve problem with adding new site to my ispconfig. There`s already one main servers site created and working with domain jedna.sk. When I create another site with domain londontea.sk and try it in browser with www.londontea.sk it points me to servers main site.

    In Vhosts_ispconfig.conf is domain londontea.sk created with right document root. I don`t know if the problem can be in /etc/apache2/sites-enabled/000-default cause there is only one virtual host with document root pointed to main site.

    this is my vhost_ispconfig.conf:
    And this is my 000-default from sites-enabled:
    can anyone help me please
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check the "domain" field of the website www.londontea.sk, it shall only contain "londontea.sk" and nothing more.
     
  3. mishko

    mishko New Member

    OK OK this is fine of course I`ve solved this right now for every one that stupid as I`m

    In site config you must choose internal IP of the site not external
    yes I`m so stupid
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Yes, you must always use the IP address that you see in the output of
    Code:
    ifconfig
    .
     

Share This Page