Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Incubator Q&A

Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.

How do I set up DNS records for home hosting? Question

+2
−0

I've been hosting my website on shared hosting, but I'm tired of paying their monthly fee. I want to move my website to my home computer.

How do I need to configure my DNS records to make that happen? Currently my NS records at my registrar point to the DNS servers for my web host and they handle the records that point to their web server.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+0
−0

Some web hosts bundle DNS (pointing domain towards an IP) and hosting (serving the site at some IP) together. Those might have some specialty tools to tie the two together. The usage of those will depend on the host.

A more practical way is to purchase the domain separately. You mention NS records so probably this is what you have. You should get a control panel from the registrar where you edit which IP it points to. You put in your home IP on there.

You will have some challenges here, not because of the DNS per se but because you are trying to host at home. I posted a different answer for these so I don't have to clutter up this one: https://proposals.codidact.com/posts/288479

Besides that, your ISP will probably dynamically assign your IP so you will have to keep updating the DNS record everytime your home IP changes. If you use a good registrar, they will provide some programmatic interface and you can set up a script to automate it. More on this here: https://wiki.archlinux.org/title/Dynamic_DNS

Of course, if you can get a real host with a static IP, it's a lot easier - you just have to update your DNS record once, and that's all.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »