Same document root for all domains

Discussion in 'Server Operation' started by JACOBKELL, Jan 8, 2008.

  1. JACOBKELL

    JACOBKELL New Member

    For some reason,i have same document root on two domain and ip adress of server.I installed webmin and tried to fix it but still nothing.With little playing it changed from document root of ip adress to document root of first domain but now it show content of first domain on ip adress and second domain.I think httpd.conf is fine,beacuse i installed new conf during webmin install.Could be something with nameserver or dns?
    Also,i noticed i can login to both domains with username from one domain which shoul'nt happening.Mysql work,even pop server working,i can login onto it,but any mail operation simply doesnt work.Which mean no matter do i send mail to adress on server,send mail from server,put mail on forwarding it doesnt work.And webmin doesnt report any error.And i think that cause same error what cause previous case.Any idea how to fix it?
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. JACOBKELL

    JACOBKELL New Member

    Nevermind,i recreated virtual hosts using virtualmin and it worked somehow.
     

Share This Page