Ask coding questions

← Back to all posts
How to connect code to a website?
Squirrel777 (138)

So I was thinking of migrating my code over to visual studio code. Because hacker plan costs money and I don't like paying money when you can do it for free on other IDES such as vs code. So I was thinking, how can you point a domain to your website via A record on freenom? I don't except a full tutorial as an answer, just a link to a tutorial!

The point

How can I go from http://localhost:3000 to when my code is in visual studio code?

SixBeeps (5060)


  • Port-forward your router so that the public can access your server through your public IP
  • Add an A record (routes an IP to a domain name), put your public IP into the record contents

Freenom KnowledgeBase Article on adding records: