- Install a webserver
- Expose the port it runs on (probably 80) to the Internet
- port forwarding from the router
- public IP address assigned to the computer running the webserver
- Set up an A record for your DNS to point
ishaan.vv.si
to the IP address you are running the server on
How to host a website on localhost? [closed]
-
11-10-2022 - |
Question
I have registered a domain http://ishaan.vv.si. I want that if I edit the files on my computer, then the changes are made to my site. Basically I want to host my site from my local computer on the web. Please help.
Solution
OTHER TIPS
If you want to host your site on your local computer. 1. You need a static IP. 2. A web server like IIS, Apache running on your local computer.
You need to change your named sever of your domain to your local computer.
Then you can setup your site.
Use ngrok to connect localhost with web end points
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow