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 ...
- 07-06-2005 #1Just 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
- 07-06-2005 #2
Have you configured port forwading on your modem/router? You need to forwand port 80 to your computers ip address.
- 07-06-2005 #3Just Joined!
- Join Date
- Jul 2005
- Posts
- 7
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.
Originally Posted by dylunio
lugos
- 07-06-2005 #4
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
- 07-07-2005 #5Just 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.
- 07-09-2005 #6
Possibly obvious but have you checked the webserver is working by accessing it on http://localhost/ on the host machine?
Cheers IanRegisterd Linux user #119296
- 07-10-2005 #7Just 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


Reply With Quote