PDA

View Full Version : [ubuntu] ubuntu and apache vitual servers



rwslippey
November 24th, 2008, 03:49 AM
hello all,

haveing a problem here..

I'm a ham radio operator and running tow websites for 2 different clubs i am with...

the problem is I can't view the sites locally...

I can view either or....


example:


If I have site one set as deafult to serve to all request.. it server me site one....

however I won't be able to get to site 2....

or vis versa with the other site...


to view the site I use an IP address internally but use two differnt domain names outside the network...

any help is appriciated...

thanks

Rob

CrucifiedEgo
November 24th, 2008, 05:25 AM
This is one of the best tutorials i know for for virtual hosts (or anything, really -- check out the rest of the site for some awesome howtos)

http://articles.slicehost.com/2008/4/29/ubuntu-hardy-apache-virtual-hosts-1

rwslippey
December 4th, 2008, 07:06 AM
I am still extreamly lost... I checked it out and haven't been able to figure out what I need to do....


I have two sites on one server (using apache virtual host)

I can view one site from inside my network...while using 192.168.1.42:8080 (server IP and port.)

to view the other site I have to change the settings (makeing the other site default)....


from the outside world it works fine....
I have two different domain names.... and they direct perfectly...

using the domain names from inside the network doesnt work either...

any ideas...

thanks...