Fedora Core 4 server help
Hello people, I'm trying to set a small server for my html web page. I found some good web pages that helps setting the web server but neither of them helped. The first problem that I have is that I have a router. I use internet cable with a cable modem; the cable modem is connected to a router that connects two computers. I canít find the way to port forward to 80. The other problem is that i use a dynamic IP so i registered to a dns. When I configure the httpd.conf in ServerName I tried with the dns but didnít work so i changed to the IP xxx.xxx.xxx:80. The problem with that is that is a dynamic IP so i have to change everytime the IP updates. I edited the host typing gedit /etc/hosts and it looks like this:
# Do not remove the following line, or various programs
# that require network functionality will fail.
184.108.40.206 mabzerox.blogdns.com mabzerox
I created a public_html folder typing:
chmod -R 755 public_html
chmod 711 your_user_name
chcon -R -t httpd_user_content_t /home/your_user_name/public_html/
Well after configuring the rest of it and executed apache with /etc/init.d/httpd start and tested it typing http://localhost/ I got nothing. I followed all the steps and tried modifying the httpd.conf and without any result.
Any help will be appreciated.