I am not able to host my own Web site - web-hosting

I have a high speed cable internet connection at home. I have D-link router, and I connect 2 computers, one is a desktop running Windows XP, the other is a laptop running Windows 7. I am perfectly able to use internet on both computers.
Now I want to host my personal web site from my home computer. I have already built the site that is running on my home network. Now I want to make it accessible from internet. I did all the procedures to open the appropriate ports on my router, allow incoming connections, and port forwarding setup, using the router's guide : http://www.dlink.com/-/media/Consumer_Products/DIR/DIR%20826L/Manual/DIR_826L_MANUAL_EN_UK.pdf .
However I am still not able to see my web site from public internet.
When I try to go to my site using my local IP address (192.168.0.103) or computer name, the site is loaded on other home computer, but when I try the same using my public IP address (found with "what is my ip" on google search), I get "Page cannot be loaded" error.
Can someone please help me telling what I am doing wrong, and how the problem can be fixed?
Thanks in advance.

Are you attempting to hit your WAN IPaddress from inside your house, aka, on the lan that the WAN would hit? It could be NAT Reflection/lack thereof getting in your way. Make sure you're trying to hit your WAN IP from a network outside of your local network. If you have a phone, turn off wifi, and use your phone.
Besides that, you've listed all of the basic steps necessary. Should the above not be the problem, I would start by checking your PCs firewall. In particular on Windows 7 checking to make sure you click real hard on that "public networks" button. Then just try and ping port 80, not load the webpage. If you can't ping, it suggests configuration issues with your router/connection. If you can, there's just some configuration that's effed up with your webserver.

Related

how to Accessing localhost (xampp) from another computer over LAN network?

I have a WI-FI & LAN network at office. I have all my files on my desktop computer (192.168.1.2) and want to access local host over there from another computer (192.168.1.8).
My xampp version is v3.2.2 and windows 7 64 bit.
On my desktop I can access localhost through the normal http://localhost. Apache is running on port 80 as usual.
Exactly what do I have to do to achieve this? There is documentation on the net but they either don't work me or are too old and confusing to understand.
Any ideas as to what changes to make it possible? Please give me step by step instructions.
User should have access of your localhost, you can check this by sharing the folder and check on other machine that folder is accessible or not, If it is accessible then that user easily can access your local host by using the http:/IPAddress, If not contact to IT department they will help to achieve this by removing some restriction on network.

how to access xampp server from internet using dynamic ip address

I have installed xampp server on my windows 7.
I am connecting internet using HUAWEI Dongle.
I don't have any static IP address.i Want to access my php file from internet example I have connected to internet now I have dynamic IP address like 100.101.73.240 if some one enter 100.101.73.240/home.php in his browser address bar then my home.php page should open in his browser.
What should I do for this give me step by step guide.
Local Ip can't work over the internet. It's your intranet network. If you have dynamic internet IP, then you simply configure the Dynamic DNS service. Which you can configure your Internet Router with the following settings (provided by the Dynamic DNS service providers).
dyn.com
noip.com
dynu.com
many more.
Thanks
If you want to share IP with someone from your local area network:
Go to cmd, run ipconfig command, and find your local IP, which should be like 192.168.xxx.yyy. You can easily share it with no worries it will change each time you reset your network.
If it's someone from external network:
You have no power to share your external IP if you have dynamic one, it will change too often, but still it should work for a short connection sessions. To obtain a stable address you would have to register a domain

How to view local site on mobile?

I have a windows 7 laptop and a phone, both connected to my home wifi network. I have a local site running on my IIS7 windows laptop. If I type localhost, I can see the default page.
The problem is that now I want to view that page on my phone. How can I get to it?
I tried
localhost:81
I tried getting my public ip, then putting :81 after, and it didn't work.
Anyone know how to do it?
Thanks
Your public IP address allows computers on the internet to connect to your router.
It won't work inside your local network.
You need to connect to the internal IP address of the computer itself – the one belonging to the network adapter connecting it to the router.
You can get this address from the ipconfig command, or the properties of the network adapter.

Is it possible to connect to Apache on my desktop from my phone while using Chrome Remote Debugging?

I'm doing this (Chrome Remote Debuggin): https://developers.google.com/chrome-developer-tools/docs/remote-debugging
I'd like to be able to access localhost or any of my vhosts (via apache on my desktop) from my phone so that I can debug a local site.
Is there ANY way to do this?
Thanks so much!
Do I understand correctly that you are running Apache on a workstation and want to connect your phone to a website hosted on it?
Yes, that is possible. The simplest method is to join your phone to the same network (WiFi) as your workstation and connect your phone to http://IP-ADDRESS-OF-WORKSTATION. Then use the Remote Debugging as usual.
Alternatively, you need to configure your WiFi router to enable port forwarding. The basic idea is your WiFi router controls traffic between your private home network (where your workstation is) and the public Internet (where your phone is), and port forwarding allows inbound traffic from the Internet to be routed into your private network.
Here's the configuration page for my WiFi router. My workstation's private IP address is 192.168.1.5 and I'm running Apache on the default port 80. If my public IP address was 8.8.8.8 then I would enter http://8.8.8.8:3000 in my phone's browser, and the router would redirect the request to my workstation at 192.168.1.5:80.
In either setup, you'll need to find your workstation's private IP address (e.g., use "Open Network Preferences" from your WiFi status icon on Mac OS X). You can find your WiFi router's public IP address by just googling "my IP address" from your workstation.
Obviously the first method (placing your phone and workstation on the same network) is quite a bit simpler. Port forwarding can be tricky to debug, and the configuration is slightly different for every router. Do post follow-up questions if you get stuck somewhere.

setting up home ftp server using filezilla

I googled, followed all the instructions but still stuck, and unable to create a home ftp server.
My internet is from dsl modem -> vonage router -> wifi router
FileZilla server ip is 127.0.0.1 and it works fine when tried from command prompt. But I need it to be accessible from outside.
I enabled ftp on wifi router's web settings page using virtual server setting.
I am stuck at this point, I don't know what else to do further. Any help is greatly appreciated.
Also, if you are planning on accessing your server remotely, (not in your network) you will have to enable port forwarding on your router. (Use the ip address of the machine running the server and use port 21) Otherwise, you only be able to connect while in your LAN.
This pretty much summarizes your needs(via lifehacker.com)
If you're FTP'ing across your home
network (like from your upstairs PC to
your bedroom PC), you can reach the
server by using its internal network
address (most likely something like
192.168.xx.xx.) From the command line, type ipconfig to see what that address
is. If you want to log into your FTP
server over the internet, set up a
memorable URL for it and allow
connections from outside your network.
To do so, check out how to assign a
domain name to your home server and
how to access your home server behind
a router and firewall.
Original Article
How to assign a domain name to your home server
How to access a server behind a router and firewall
You need to be able to access your internal network from the internet. Consider using a service like dynDNS if your router supports it.

Resources