The DNS Guys |
Anycast DNS 25 Nameservers Worldwide |
DNS Failover Host Monitoring & Auto Rollback |
Outbound SMTP Smart Relay, SASL |
| Subversion Hosting OpenID Servers & XMPP |
DNSSEC TSIG & Secondary DNS |
easyRoute53 Amazon Route53 GUI |
May 31 2004, 08:31 AM
Post
#1
|
|
![]() Its GNU/Linuxhelp.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 1,254 Joined: 21-September 02 From: St John's, Newfoundland, Canada Member No.: 3 |
I'm not sure if anyone else has ever had a problem with this, but I did, so i expect that someone else out there might run into it at some point.
My network setup includes a linksys router connected directly to the internet using a pppoe internet connection. I have a dynamic IP and thanks to hughsjr's scripts (see Server on a Non-static IP) my ip is constantly updated with my domain. On my router, I have port 80 being forwarded from the router to my internet webserver (192.168.0.2). Currently I have www.thegoodtimes.ca and sober.thegoodtimes.ca setup, using apache 1.3.x, here is my virtual host settings at the bottom of my /etc/apache/httpd.conf file: QUOTE NameVirtualHost *:80 <VirtualHost *> ServerName www.thegoodtimes.ca ServerAlias thegoodtimes.ca DocumentRoot /var/www </VirtualHost> <VirtualHost *> ServerName sober.thegoodtimes.ca DocumentRoot /home/blew/public_html </VirtualHost> Obviously I can add more options to the VirtualHost directives, but using this bare minimum made it work. -------------------- Corey Quilliam
(former) Linuxhelp.ca Administrator cquilliam-AT-gmail-dot-com Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!! -- Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2) Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore) Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell) |
|
|
|
![]() |
Jun 1 2004, 07:28 AM
Post
#2
|
|
![]() Its GNU/Linuxhelp.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 1,254 Joined: 21-September 02 From: St John's, Newfoundland, Canada Member No.: 3 |
Yeah, I knew you could have custom log files, which I do have setup, but I just wanted to post the bare minimum for getting the multiple vhosts working correctly.
Those scripts you wrote are really helpfull and are working perfectly for me -------------------- Corey Quilliam
(former) Linuxhelp.ca Administrator cquilliam-AT-gmail-dot-com Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!! -- Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2) Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore) Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell) |
|
|
|
Corey Multiple Vhosts Behind A Router May 31 2004, 08:31 AM
hughesjr Corey ...
If you want to keep seperate stats for ... May 31 2004, 01:54 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 08:00 PM |