Website hosting locally
#1
Posted 17 September 2009 - 12:30 PM
However port 80 never comes back as open when I test it.
Does windows fire wall block this port by defualt? Anything else I should check?
#2
Posted 17 September 2009 - 04:24 PM
#3
Posted 17 September 2009 - 08:00 PM
Yes I have a router.
#4
Posted 17 September 2009 - 08:19 PM
Boredom Software Stop Highlighting Things
#5
Posted 17 September 2009 - 08:44 PM
#6
Posted 17 September 2009 - 08:52 PM
xXAlphaXx, on Sep 18 2009, 11:44 AM, said:
What do you mean by this?
This post has been edited by KamakaZ: 17 September 2009 - 08:54 PM
There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.
#7
Posted 17 September 2009 - 08:56 PM
Go to What's My IP to get your external IP address. Enter that IP address into the address bar of your browser. If it's working, you'll see your web page. If it's not, the error message may prove helpful.
Boredom Software Stop Highlighting Things
#8
Posted 17 September 2009 - 09:05 PM
I had too change a setting in my php.ini and its almost blank -_-
Apache is set up too be hosted through a no-IP client right now, would this have any effect on why its only staying on my network?
Static ip what? I've been working with the local host, loopback, internal, external ip's I have no idea what is what right now >_<
This post has been edited by xXAlphaXx: 17 September 2009 - 09:06 PM
#9
Posted 17 September 2009 - 09:09 PM
If you are going to run Apache only on local network (LAN) then you do not have to forward port 80 to external internet.
You need to create LAN clients or a LAN group in your router and then allow them to access port 80 (it would be similar to port forwarding process).
This post has been edited by Romeo29: 17 September 2009 - 09:32 PM
#10
Posted 17 September 2009 - 10:22 PM
You have a server set up on your computer. The server runs on Port 80, so the firewall on the system running the server has to have port 80 open in order for the server to get requests. Next, your router has to forward incoming requests (from the internet) on port 80 to the system running your server. As Andrew already stated, you need to set up the system running the server to have a static IP. The IP that you have to use depends on your router. For instance, on my internal network, the IP numbers run from 192.168.1.1 to 192.168.1.8. On the internal network, my router takes the 192.168.1.1 address, my server takes 192.168.1.2, and the rest of the systems in my house take up the rest of the IPs in that range. So when I port forward, I have to tell my router that any requests on port 80 go to my server located at internal address 192.168.1.2
Your external address is different. That address is the one that the rest of the world uses to connect to your computer. Since you are using No-Ip, then you have set up a domain od some sort, and No-ip knows what that domain is. You tell No-IP what [u]your[/i] ip address is (which is the one you find by using a service like Whatsmyip.com, as AA mentioned). No-Ip then registers that domain and IP with its name servers. When someone types in the URL for your website, the request gets routed through the global domain servers, which then route the request down to No-Ip's name servers. Once it gets there, then No-Ip matches up the URL with your IP address. Then the request is sent to your server. Your router gets the request and passes the request to the server.
#11
Posted 17 September 2009 - 10:54 PM
Quote
#12
Posted 18 September 2009 - 08:16 AM
groovicus, I finally have port 80 open, it is seeing service on it. However, I am still having problems with No-IP. I had it set too the computers ip, the 69.x.x.x Not the 192.x.x.x
I was unable too get anything host it thorugh the 69.x.x.x and the 192.x.x.x (trial and error) how ever I started getting it host locally when I used 127.0.0.1 along with loopback adapter.'
EDIT:
AHA! I got it! I can successfully view the website on external computers. Thank you all for all the help.
Im going too guess it was the firewall blocking the port. I have No-IP hosting the website off of "127.0.0.1" with the combination of the microsoft loopback adapter it grabs my site perfectly.
Now too fix this php.ini >_<
This post has been edited by xXAlphaXx: 18 September 2009 - 11:57 AM
#13
Posted 18 September 2009 - 12:21 PM
Boredom Software Stop Highlighting Things
#14
Posted 18 September 2009 - 01:21 PM
Quote
Which, if you are trying to view the web-site on the same computer as has the server, it will only appear to be working, when in reality it is only working on that one computer.
#15
Posted 19 September 2009 - 11:09 AM
Got it changed too the external 69.x.x.x ip
Working fine now, just got some php issues I have too resolve now. Oh well.
Thanks for all the help

Help



Back to top











