Help with Apache

jkrules22

Distinguished
Feb 21, 2012
75
0
18,630
Could someone explain a little bit on how to host a website using Apache. Also I wasn't sure on which sub-category to put this in :??:

I downloaded and installed Apache and set it up how this Youtube tutorial told me. At first It wasnt connecting at all, But when I googled more I realized I needed to forward port 80 and 443, I did that and Im able to connect and it says the message "It Works!" Just like it should, and Im able to change the index file and it says anything I change it to. All of that is working and I can figure out how to set up the page and such myself, I just cannot figure out why other people cannot connect to it. I give them the same IP I use to connect to it from my computer and it doesn't load for them. I don't want to get ahead of myself and start setting the pages up for the site If no one can connect to it. I am very new to this and I'm pretty much doing it just for learning. Any comments will help me and if someone maybe wants to donate a little bit of their time explaining this on Skype to me would be cool.

Thanks for helping in advanced :)



My Skype is jkrules22
 
All it should require is providing your public IP. So let's pretend that's 225.14.6.2, the URL would be:

http://225.14.6.2

However, be aware, many ISPs *block* the common ports, like 80 and 443, because they don't want customers establishing business services without a business account. So you may have to use something >1024, say 8080. So forward port 8080 on your firewall to port 80 internally. Now your url would be:

http://225.14.6.2:8080
 



Could you explain on how to do that please, I tried google, but I dont know how to word it, sorry for the late response.
 
There isn't much to it. All I'm suggesting is that you try a different external port from the one you’ve already specified. Presumably you forwarded the default web service port (80) on the firewall as follows:

External Port: 80
Internal Port: 80
Internal IP: 192.168.1.100 (for example)

So change it to :

External Port: 8080
Internal Port: 80
Internal IP: 192.168.1.100 (for example)

And now access it by specifying that new external port:

http://<your-public-ip>:8080