Results 1 to 9 of 9
Hi, all
I m very new to this forum. I am trying to make a web server for private use. I have Redhat fedora core 3 linux, apache 2.2.8, and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-17-2008 #1Just Joined!
- Join Date
- Mar 2008
- Location
- Pune, India
- Posts
- 3
Need some help with a web server
Hi, all
I m very new to this forum. I am trying to make a web server for private use. I have Redhat fedora core 3 linux, apache 2.2.8, and php 5 installed.
I have created 2 virtual hosts on the server. I can view home pages of both domains in server.
But i can not view home page of 2nd virtual host or domain i have created from other machine on my network. it is a windows xp machine.
I know this is very silly to ask in this way but any help is desperately needed.
- 03-18-2008 #2
- 03-19-2008 #3Just Joined!
- Join Date
- Mar 2008
- Location
- Pune, India
- Posts
- 3
No, I haven't. I don't know any thing about it.
- 03-19-2008 #4
I would guess this is host name resolution.
Try adding each virtual site to /etc/hosts on your remote computer.
If this works, we can look at setting up a DNS server for your local
domain
For example (change the ip and names to suit)
Code:192.168.0.2 virtual-site1 virtual-site2
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
Snakey Wakey!
The Fifth Continent reborn
- 03-19-2008 #5
Sorry. Its a Windows XP Client. The hosts file can be found in
c:\windows\system32\drivers\etc\hosts
There is no extension and notepad or wordpad will be fine for editing
it.If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
Snakey Wakey!
The Fifth Continent reborn
- 03-19-2008 #6Just Joined!
- Join Date
- Mar 2008
- Location
- Pune, India
- Posts
- 3
I have tried that thing but no use.
- 03-19-2008 #7
Are you getting any error messages when using your browser?
Can you post the contents of your hosts file from the windows box
and can you also post the apache config file from your server?
I don't specifically know Fedora, being an Ubuntu fanboy, but I
hope they are similar enough for me to find my way around
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
Snakey Wakey!
The Fifth Continent reborn
- 03-19-2008 #8
I can't tell exactly what you are trying to do. let me clear this up for myself.
you have apache running on a linux machine. vhost1 is a local directory on the linux machine. vhost2 is a directory that exists on a xp machine.
if thats right, then the linux machine will need to mount the xp folder share using samba, and you can mount it right in your apache directory, or have the parameters in apache for vhost2 point to your mounted samba folder.
- 03-19-2008 #9
Ah I misread that completely.
Yes in that case SAMBA will be needed. Is there any reason why
the second vhost is not on the Linux server - it would be more
straightforward.
This is a link to a Fedora samba howtoIf we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
Snakey Wakey!
The Fifth Continent reborn


Reply With Quote
