Did you create two virtual hosts for your domains? On each of your domains' virtual host definition (or vhost file?) did you specify a ServerName directive?
eg. <VirtualHost *:80> : ServerName mydomain.com : : : :</VirtualHost> On Sun, Sep 29, 2013 at 8:43 PM, Daniel Eggleston <[email protected]> wrote: > Linda, > > It's basically impossible to tell, based solely on your description. You > mentioned two nameservers, but that does not appear relevant. > > I suspect it is a problem with your webserver configuration, but you have > not mentioned which webserver, so nobody here will be able to give you > effective advice. > > What webserver are you using, and how did you attempt to configure virtual > hosts? > On Sep 28, 2013 5:30 PM, "linda crawford" <[email protected]> > wrote: > >> Basically I'm trying to setup multiple domains on my CentOS Linux distro. >> I have two IP addresses that I set as my name servers ns1 and ns2. Then I >> created a virtual host for one of my domains. The problem I'm having is >> when I load both domains, I get the same files. >> >> What is wrong! >> >> -- >> -- >> You received this message because you are subscribed to the Linux Users >> Group. >> To post a message, send email to [email protected] >> To unsubscribe, send email to >> [email protected] >> For more options, visit our group at >> http://groups.google.com/group/linuxusersgroup >> References can be found at: http://goo.gl/anqri >> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rulesor >> http://cdn.fsdev.net/List-Rules.pdf) >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Linux Users Group" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- > -- > You received this message because you are subscribed to the Linux Users > Group. > To post a message, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit our group at > http://groups.google.com/group/linuxusersgroup > References can be found at: http://goo.gl/anqri > Please remember to abide by our list rules (http://tinyurl.com/LUG-Rulesor > http://cdn.fsdev.net/List-Rules.pdf) > > --- > You received this message because you are subscribed to the Google Groups > "Linux Users Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- Romar Micabalo (aka 'hardwyrd') Caelum Techlogic http://www.caelumtechlogic.info @hardwyrd ------------------------------------------------------------- "Penguin, penguin, and more penguin !" -- -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf) --- You received this message because you are subscribed to the Google Groups "Linux Users Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
