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.
168.243.219.16 mabzerox.blogdns.com mabzerox
localhost.localdomain localhost
I created a public_html folder typing:
mkdir public_html
chmod -R 755 public_html
cd /home
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.
Thank you