homepage Welcome to WebmasterWorld Guest from 54.211.219.178
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
RH 8 Web Server Trouble
Web Server trouble
tkmad




msg:908668
 2:18 am on Apr 8, 2003 (gmt 0)

I'm not sure if anyone can help me resolve my issues, but I am hoping that someone can. I have been an avid linux user for about 3 years, but recently decided to venture into the virtual hosting aspect of apache. The problem that I am having has to do with multiple domain names. I have two name servers setup ns1.realestateassistant.biz and ns2.realestateassistant.biz at two different locations with two totally different ip addresses. I can ping both machines and get 100% results back. I can access www.realestateassistant.biz, but the issue I am having is with www.petbirds.biz. I want to have an ip based virtual host for the name. I have added this address to my virtual host list with the following code.

# Virtual host petbirds.biz
<Virtualhost 192.168.2.10>
DocumentRoot /var/www/petbirds/html/

ServerAdmin petbirds@petbirds.biz
ServerName ns1.realestateassistant.biz

ServerSignature email

<IfDefine HAVE_SSL>

</IfDefine>

</VirtualHost>

I am pretty sure that the DNS is working correctly because I can ping the machines ip, www., and ns1., but I am not sure if I have all the parts put together properly. I would really apreciate any professional information that I can get. I read a whole bunch of books, but I must be a big ape because I still can't get it to work right. I want to be able to host the www.petbirds.biz and allow the individual to remote access the machine via ftp and change the information within as well as allow them https for secure encryption. I have updated some information. If more detail is needed such as code from resolv or other files to resolve my issue please let me know. Thank you very much.
Ryan Wolf.

 

sugarkane




msg:908669
 8:56 am on Apr 8, 2003 (gmt 0)

Do you have a NameVirtualHost directive in your httpd.conf, as below?

NameVirtualHost 192.168.2.10

<Virtualhost 192.168.2.10>
ServerName yourdomain.com
[...rest of your config options]
</VirtualHost>

tkmad




msg:908670
 2:15 pm on Apr 8, 2003 (gmt 0)

The code that I have there is in the httpd.conf. I have tried several different ways of entering the virtual host. I think I mentioned that I was looking for an ip based virtual host so that I can use ssl. Things that I have tried but have had no luck are, editing httpd.conf manually, using webmin, and entering the data in through gui. The code that I typed in is what Linux put in after I entered the information in the virtual host through gui in http services option.

tkmad




msg:908671
 11:18 am on Apr 11, 2003 (gmt 0)

even with the nameserver 192.168.0.25 I still cannot contact this ip. I think my problem is in the DNS. I must not be setting it up correctly. The machine ip is 192.168.0.99 behind my router and the lo address 127.0.0.1 and I can telnet 192.168.0.99 but I am actively refussed on 127.0.0.1. Should I change the local address to 192.168.0.99? Thanks for any input.
Ryan

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved