Ask coding questions

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

So I was thinking of migrating my code over to visual studio code. Because repl.it 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 www.domain.tk when my code is in visual studio code?

Comments
hotnewtop
SixBeeps (5060)

tl;dresearch

  • 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: https://my.freenom.com/knowledgebase.php?action=displayarticle&id=33