LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Help me Understand what I have to do... (https://www.linuxquestions.org/questions/linux-networking-3/help-me-understand-what-i-have-to-do-323751/)

cjkeeme 05-15-2005 12:59 PM

Help me Understand what I have to do...
 
Here's is my platform:

* I'm running SuSE 9.2 as an internet server to a community.
* The internet server is connected to a domain in this format: first.example.com
* I have enabled Apache Web Server as I want to create a webpage at the above
domain.
* I am capable of surfing over to the above website on the internet
(first.example.com).
* The next thing I want to do is create a virtual domain: second.example.com.
* I added the virtual host entry to httpd.conf.
* I am not able to access: second.example.com from the internet.


Is there something I am missing? I thought that since (first.example.com) is obviously setup correctly that all I would have to do to create (second.example.com) is add a virutal host entry.

I really would like to get this resolved today, so if anyone has an expertise on this subject I would greatly appreciate it. Thank you all for your continuing aid on all this networking/server stuff.

Also, is there a program out there that will make this easier for me? I don't mind editing *.conf files, but if there is something out there that could make this easier I wouldn't mind giving it a try.

Thanks.

david_ross 05-15-2005 01:13 PM

You will need to set up the dns record for it as well.

cjkeeme 05-15-2005 01:23 PM

Aren't the DNS records already setup as I have (first.example.com) already setup?

Shouldn't (second.example.com) simply be a sub-domain? I may not be wording this correctly? Is setting up a sub-domain the same thing as setting up a virtual host?


Thanks.

david_ross 05-15-2005 01:25 PM

The domain name regardless of whether it is a subdomain or not still needs to resolve to the IP address of the server. After that you can use a virtual host in apache to deliver different content to a client depending on the host header it sends.

cjkeeme 05-15-2005 01:33 PM

So basically I have to tell the person in charge of the domain to put in the request to add (second.example.com) and it's respective DNS entries to networksolutions.com?

david_ross 05-15-2005 02:05 PM

Yes that would be right.


All times are GMT -5. The time now is 06:34 PM.