LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-03-2003, 11:46 PM   #1
marvc
Member
 
Registered: Aug 2002
Location: GA
Posts: 59

Rep: Reputation: 15
Exclamation newbie needs help with virtual hosting


Apologies in advance if this is the wrong forum.
Anyone know of any issues where Apache doesn't handle .biz domains? I'm trying to configure virtual hosting for 3 of my domains on a RH 7.3 server I'm hosting and I can't seem to get it to direct to the default page for the .biz domain. It continues to display the default page of domain1. domain 2 & domain3, which is are .com domains, are fine and will display the index page I've added to their directories. So if I type in www.nubiint.com I get the default page for my pn site.
www.newundertakings.com also gives the test default page.
www.nusolutions.biz gives the default page for www.nubiint.com.
My virtual host section looks like this:
#-------------------------------------------------------------
# Domain 1 for this server - nubiint.com
#-------------------------------------------------------------
<VirtualHost 192.168.1.11:80>
ServerAdmin me@mydomain.com
ServerName nubiint.com
ServerAlias www.nubiint.com
DocumentRoot /wwwroot/htdocs/nubiint
LogLevel info
ErrorLog logs/www.nubiint.com-error_log
CustomLog logs/www.nubiint.com-access_log common
</VirtualHost>
#-------------------------------------------------------------
# Domain 2 for this server - newundertakings.com
#-------------------------------------------------------------
<VirtualHost 192.168.1.11:80>
ServerAdmin me@mydomain.com
ServerName newundertakings.com
ServerAlias www.newundertakings.com
DocumentRoot /wwwroot/htdocs/newundertakings
LogLevel info
ErrorLog logs/www.newundertakings.com-error_log
CustomLog logs/www.newundertakings.com-access_log common
</VirtualHost>
#-------------------------------------------------------------
# Domain 3 for this server - nusolutions.biz
#-------------------------------------------------------------
<VirtualHost 192.1681.1.11:80>
ServerAdmin me@mydomain.com
ServerName nusolutions.biz
ServerAlias www.nusolutions.biz
DocumentRoot /wwwroot/htdocs/nusolutions
LogLevel info
ErrorLog logs/www.nusolutions.biz-error_log
CustomLog logs/www.nusolutions.biz-access_log common
</VirtualHost>

Can anyone assist with this? I'm totally stumped at this point.
Responses are greatly appreciated.
 
Old 06-04-2003, 02:23 AM   #2
delling81
LQ Newbie
 
Registered: Jun 2003
Location: Dunedin NZ
Distribution: RedHat
Posts: 5

Rep: Reputation: 0
Dunno if this is the original file, but if it is, look at this line:

<VirtualHost 192.1681.1.11:80>
Last time I checked, 1681 isn't a ipaddress u can use :P
 
Old 06-05-2003, 11:02 AM   #3
marvc
Member
 
Registered: Aug 2002
Location: GA
Posts: 59

Original Poster
Rep: Reputation: 15
DOOOOOOOHHHHHHH!!!!!!!!!!!!!

Thanks. That's 5 days wasted for being Stuck On Stupid (SOS)!!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Hosting bstuart Linux - Software 1 06-19-2005 11:26 AM
Virtual Hosting? nr5 Linux - Software 10 06-03-2005 01:30 PM
virtual hosting setenv02 Linux - General 6 05-05-2005 02:35 AM
Virtual Hosting joseph Linux - General 3 08-20-2003 04:16 AM
named based virtual hosting newbie nickblue Linux - Networking 9 08-04-2003 11:39 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration