Is it possible to host a web server from behind a NAT
- by iamrohitbanga
My PC is behind a NAT router that has a public IP address. If I want to host a website then I believe I need a domain name which I can purchase from some site which would pledge to resolve all DNS requests for that domain name and send the IP address of my NAT router (assuming I do not want to host my domain name on their servers). Now I want to host a web server on my computer.
What changes should be done to the NAT router's configuration to forward all HTTP requests for example.com to my PC in the internal network.
Is the above strategy correct?
Is it commonly used?