noellarkin
Senior Member
- Mar 14, 2021
- 998
- 1,473
want to do this for a hobby weekend project.
I have an old windows 7 laptop lying around that I want to repurpose. I already know how to set up a website on localhost using XAMMP. What I'm curious about is that crucial final step.
When I buy hosting online, I connect a domain to the hosting using the nameservers offered by the hosting service. I can also point the DNS records to the hosting IP address.
How does this work when the "Hosting" is my own laptop, connected to an internet connection whose IP changes from time to time?
Note: I know about the 'security risks' of opening up a computer to the internet - - as mentioned above, this is a spare computer, and I just want to do this as a hobby project so I learn more about how webhosting works.
So let's say I bought a TLD from namecheap, how would I go about point that domain to my laptop-hosted website?
I have an old windows 7 laptop lying around that I want to repurpose. I already know how to set up a website on localhost using XAMMP. What I'm curious about is that crucial final step.
When I buy hosting online, I connect a domain to the hosting using the nameservers offered by the hosting service. I can also point the DNS records to the hosting IP address.
How does this work when the "Hosting" is my own laptop, connected to an internet connection whose IP changes from time to time?
Note: I know about the 'security risks' of opening up a computer to the internet - - as mentioned above, this is a spare computer, and I just want to do this as a hobby project so I learn more about how webhosting works.
So let's say I bought a TLD from namecheap, how would I go about point that domain to my laptop-hosted website?