Find the answer to your Linux question:
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.
  1. #1
    Just 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.

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Have you tried...SAMBA?
    New Users, please read this..
    Google first, then ask..

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Location
    Pune, India
    Posts
    3
    No, I haven't. I don't know any thing about it.

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,488
    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
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  5. #5
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,488
    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.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  6. #6
    Just Joined!
    Join Date
    Mar 2008
    Location
    Pune, India
    Posts
    3
    I have tried that thing but no use.

  7. #7
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,488
    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
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  8. #8
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    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.

  9. #9
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,488
    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 howto
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •