Find the answer to your Linux question:
Results 1 to 7 of 7
Hello All, I'm fairly new to linux and I'm running Fedora Core 3 on my PC, and I'm trying to host a small website. I've registered the domain and I'm ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Posts
    7

    Apache Web Server


    Hello All,
    I'm fairly new to linux and I'm running Fedora Core 3 on my PC, and I'm trying to host a small website. I've registered the domain and I'm using everydns.net for DNS services. I've practically done everything in the following tutuorial: http://stanton-finley.net/fedora_cor...notes.html#Web. However, when start the server and type my IP address in the browser (Firefox), I get a "connection was refused..." error message. I also get that same message when I type www.mydomain.com in the browser. Would anyone know why that is happening?

    Thanks,
    lugos

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Have you configured port forwading on your modem/router? You need to forwand port 80 to your computers ip address.
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Posts
    7
    Quote Originally Posted by dylunio
    Have you configured port forwading on your modem/router? You need to forwand port 80 to your computers ip address.
    No, I don't think I've done that. How would I go about doing that? Do you know where I can get some information on that? Thanks.

    lugos

  4. #4
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Ususally you can access the router/modem via opening a web browser anh putting it's ip as an address.

    Once in you should be able to configure port forwarding
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  5. #5
    Just Joined!
    Join Date
    Jul 2005
    Posts
    12
    Have you configured virtual host section in the httpd.conf file?

    sample is :

    <VirtualHost *:80>
    # ServerAdmin webmaster@dummy-host.example.com
    # DocumentRoot /www/docs/dummy-host.example.com
    # ServerName dummy-host.example.com
    # ErrorLog logs/dummy-host.example.com-error_log
    # CustomLog logs/dummy-host.example.com-access_log common
    #</VirtualHost>

    Regards,
    Amar.

  6. #6
    Linux Newbie ihayhurst's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    138
    Possibly obvious but have you checked the webserver is working by accessing it on http://localhost/ on the host machine?

    Cheers Ian
    Registerd Linux user #119296

  7. #7
    Just Joined!
    Join Date
    May 2005
    Location
    Bedfordshire
    Posts
    25
    Also try checking in the httpd.conf file of apache that it is set to listen on the correct IP address and port.

    As default its 127.0.0.1 - which is localhost.

    You may also need to make sure that linux gives the correct permissions to the apache server. I believe your files will be in /www/

    Good luck

Posting Permissions

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