How do I make my xampp server public using my public ip address? [closed]

我们两清 提交于 2020-06-22 08:20:45

问题


I have just installed xampp 1.7.7. I need to know what I need to do in order to make my website public using my public IP address (not 192.168.xxx.xxx) Also, I am behind a router (NETGEAR WPN824v3). I do have a dynamic IP address, but I have reserved the IP via my router. My operating system is Windows 7 Professional x64.

  1. Do I need port forwarding? --> If so, what is the server IP (won't let me choose anything besides 192.168.xxx(cannot change).xxx(needs to be entered manually))? and what is the start port and end port?
  2. What other changes do I need to make to make my website public without using: 127.0.0.1, 192.168.xxx.xxx,localhost,etc....
  3. How do I configure a domain name (from DOT TK)?

Please give me a step-by-step detailed list of instructions on how to do this and don't refer me to other websites please!


回答1:


  1. Q: This sounds like a home network, correct?

  2. Q: Do you have a registered domain? Or do you want people to access your site by IP address?

  3. Your internal, LAN address is 192.168...

    You can find your external ("WAN") address by looking at your router (which may be the Netgear, or might be yet another router - the one built in to your DSL or cable modem).

    You can also find it by pointing your browser here:

    • http://www.whatismyip.com
  4. Be advised that, unless you have a "static IP" from your provider, this external address might change at any time. It might stay the same for months ... or it might change multiple times/day. "It depends".

  5. Be advised, too, that the moment you open anything on your firewall - especially a web site - you leave yourself potentially vulnerable to hackers. You absolutely need to make sure you have adequate security in place to protect against this eventuality.

  6. Suggestion: look at DynDNS (or alternatives):

    • http://www.dyndnscommunity.com/

    Or just shop around for a web hosting service that appeals to you :)




回答2:


How do I register my domain(I don't want to use an ip address for my name)

http://www.no-ip.com/ (free)



来源:https://stackoverflow.com/questions/9147430/how-do-i-make-my-xampp-server-public-using-my-public-ip-address

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!