site2 (client2) redirects to site1 (client1)

Discussion in 'Installation/Configuration' started by 007007, Sep 21, 2010.

  1. 007007

    007007 New Member

    Hello,

    I have version 3.0.3 of ISPConfig

    I have a client1 who have a site1(test.com), it works well

    when a client2 creates a site2(test2.com), site1(test.com) redirects to the web folder of client2(test2.com) !!!

    why this problem? where it may come? :(

    thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Make sure that you either use the IP adress in all websites or that you use * in all sites but do not mix that on the server.
     
  3. 007007

    007007 New Member

    yes i use ip for all websites of clients !
     
  4. 007007

    007007 New Member

    any help please ?
     
  5. qb7

    qb7 New Member

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You missed to enable auto subdomain; www in the website settings. A website can only show up if you instructed apache to show it for a specif domain / subdomain. As the website is domain.com and not www.domain.com, then it shows up only when you enter domain.com in the browser of course. If you want that it shows up for the subdomain www as well, then you have to select the auto subdomain www setting.
     
  7. qb7

    qb7 New Member

    Solve, thank a lot till.:)
     

Share This Page