Hi,
I want to host 2 domains on the same IP (with same user). But when I enter www.domain2.com it always displays the content of www.domain1.com (in the address bar the browser still says domain2). But if the index.html file of domain2 is newer than the one of domain 1 everything works fine. Is this some sort of bug or misconfiguration?
In other words I always have to upload the index file of domain2 again after editing the index file of domain1
The strange thing is, that when I enter www.domain2.com/page2.html (page2.html is only in the ftp directory of the second domain) it displays the correct page (always, no matter which file is newer).
Or could it be because the DNS are on a different server?
I have a directAdmin account on Server A with the name servers on it. Server A has in his DNS management the same IP for domain1 and 2. On Server B (where both domains are located, also with DirectAdmin) I have the same DNS management setting again.
Is this "forwarding strategy" wrong?
Thanks for your help.
I want to host 2 domains on the same IP (with same user). But when I enter www.domain2.com it always displays the content of www.domain1.com (in the address bar the browser still says domain2). But if the index.html file of domain2 is newer than the one of domain 1 everything works fine. Is this some sort of bug or misconfiguration?
In other words I always have to upload the index file of domain2 again after editing the index file of domain1
The strange thing is, that when I enter www.domain2.com/page2.html (page2.html is only in the ftp directory of the second domain) it displays the correct page (always, no matter which file is newer).
Or could it be because the DNS are on a different server?
I have a directAdmin account on Server A with the name servers on it. Server A has in his DNS management the same IP for domain1 and 2. On Server B (where both domains are located, also with DirectAdmin) I have the same DNS management setting again.
Is this "forwarding strategy" wrong?
Thanks for your help.