How to Point a Domain Name to an IP Address (DNS A record example)
Вставка
- Опубліковано 8 лют 2025
- Learn how to point a domain name to a VPS or server's IP address with a DNS A record. Although I use Linode in this video, the same concepts apply for GoDaddy, Bluehost, Namecheap, and pretty much any other hosting provider.
Find more at tonyteaches.tech
Check out my vlog channel @TonyFlorida
#a #dns - Навчання та стиль
Thank you, Tony. I have never subscribed to a channel after watching less than the first 5 minutes of the first video. I appreciate that you took the trouble to show two different domain services.
Thank you very much Ahmed
Really enjoy your calm and peaceful explanation of how this works! Easy to understand. Thanks
You're very welcome!
Thanks!
Sure thing, glad I can help
This video has helped me many times in many situations. this info is easy to forget and once you do a new project need a refresher. Spotting this one more time is such a relief...
Straight forward and make sense - that was excellent! Thanks for taking the time to make the video. Just subscribed.
Quick Tip:
I realized your TTL (Time To Live) was 1H.
If you changed it to like 1M (1 Minute) the propagation will be a lot faster.
Great Tutorial.
Thanks Adam!
Love your work! Had to leave a comment after you had the exact solution with no fluff for like the 5th time!
It's like I'm reading your mind :)
hi there, it was a really good tutorial, I just wanted to note that you don't need to open a private window to avoid cache data, you could just press CTRL + SHIFT + R (or CTRL + f5 as far as I'm aware)
that just refreshes the site
@@Angremaan Yes but it performs the refresh with a corresponding cache clear.
Thanks Tony. It was no rocket science indeed. Very lively explanation. Appreciate your work !
Thanks Sylvester
Clear explanation. I stumbled upon this video because I had google domain forwarded (FROM WEBSITE SECTION) to the ip address so it forwarded fine but then the IP address remained in the browser URL instead of the domain name. I thought it was a nginx issue and I needed to translate the output path, spent like 4 hours playing with nginx config only to realise that I needed to setup a DNS record and not domain forwarding. What a nightmare haha, thanks!
You’re awesome man, I did everything wrong and after watching this I redirected my dns the right way and it worked. Thank you 🙏 😂👍👍👍👍👍👍👍👍👍👍👍👍👍👍
Big help for a 1st time web developer like me, thanks a lot
You're welcome!
Thank you for the simple explanation- very helpful!
Hi,
Tony Teaches Tech, This video is simply superb straight forward. You help me a lot, love you. Keep doing your explanation is simple even though without technical knowledge person can also understand very well.
Thanks man, i was so confused initially with A records, this made it
Happy to hear that
This guy knows what he's talking about.
Thanks for this video Tony. It helps a lot.
Glad it helped
Great Video man! Truly appreciate the info!!!
I've struggled on my own for about two years on and off to get this to work with Google Domains, and never quite got it to work all the way through. using @ to specify root of the domain was the little bit that helped me complete this project, so thank you very much!!!
Appreciate your work Tony 😊
Thanks!
:) Thank you so much. The only hiccup for me is that I'll have to set my trusted domains up in Ubuntu, but I know I can do it similarly to how you did here. Thank you
Thanks for this video. I've been looking for this
Thanks man 👋
That was a good explanation!
No problem 👍
Thank you for this guide! Lifesaver.
You're welcome!
Hi Tony, thank you for the video! May I ask how did you get the IP address at first? I accidentally deleted the IP address on my domain server page, now I don't know what to put there lol
Great video. Thank you Tony
Sure thing
Thank You for this. It helped a lot.
🥰 THANK YOU SOOO MUCH for making this so much clearer!!! Lol it's still a little bit confusing (as a novice), but you did make it A LOT MORE clear. Definitely more clear than the other 90%.
Nextcloud Snap on Ubuntu 24.04.1
🤔 So I point my DNS records at my Ubuntu Server IP, not my Nextcloud IP?
Thank you, Tony, you are a life saver!
You're very welcome
Perfect thanks, one more question, u added dns record on your Nginx and apache but for internal users i guess you had to add the same record on your DNS Server so that every local machine can communicate throught DNS and not IP right ?
Thank you, Tony. Very useful video for me 👏
You're very welcome
TY, worked perfectly for PorkBun
Thanks for the amazing video, wanted to ask that if i want to link a domain to a specific ip and port number what are the steps for it, would really appreciate your help
THANKS FOR YOUR EXPLANATION IST WELL PUT KEEP IT UP THIS GOOD STUFF can you do one for how to point a regular dns to unstopable domains please
Hey, this was the best video explanation of this! So simple and so quick. Thank you. Question: my laptop ip address changes. What should I do to keep a steady connection even if it changes?
Lmk if u find out
This would be useful in personal public servers
HELPED A LOT THANKYOU SO MUCH 👍👍👍👍
You're welcome!
Great video, man. What do you use to record your screen? Crisp! Awesome channel. Definitely subbed 🤘
Thanks for the sub. I use QuickTime
Hi Tony, your videos are amazing and educative. What's brand of microphone are you using?
Hey man, really love your tutorials, i've almost watched them all! Do you think you could make a video on how to host multiple and point multiple domains to the same server please?
nice explanation
Thanks and welcome
finally, something I can begin to understand, thanks. When changing host, do I delete the old hosting DNS infos(@, www) or just leave it there? Also, my new hosting wants me to create 4(four) a records.
Thank you very much. I followed you advice and I got my domain pointed to the ip address in less than 5 minutes. I tried it with the CNAME and the same ip address is being called "invalid alias data". This is a google workspace domain registered with Squarespace. What should I do?
Thanks man, trying to connect my home nextcloud ages will try this and will come back with some news...
Any luck yet?
@@TonyTeachesTech well I managed to do IP address there but then I still cannot connect to my server, the challenge fails to get a certificate
thanks man really helpfull 👍
"flow ryda" lmao its floor-ida Good video though. I couldn't figure this out for the life of me. thanks
can you forward the DNS names with different port numbers to a specific IP & port?
What you can do is tell the virtual host what its domain is and which port to listen to.
domain1.tld on port 8080
Config would show
Server name: domain1.tld
Listen 8080
Don’t quote me on that. Check your server config docs
Thank you Tony
will that mess with the email address that is my server? I would like to keep the email with Google but point the domain name to another IP.
Hi Tony.... If I want the domain name pointing to the synology server... but the synology has a local IP address....
Does the domain name has to point to the local IP address or there are other steps I have to do such as port forwarding etc.
Great Video, please please help to understand the SSL implementation in this scnario. Even in your example it shows that Site is not secure. How to secure the session with SSL
Hello do you have a video how to configure apache to get that ip address..tnx
Great video - thank you
Very welcome :)
Thanks for the video! One quick question: why do you add the www as a type A record and not as a CNAME one?
They accomplish the same thing. I think it's just habit, but no worries if you do CNAME instead
@@TonyTeachesTech Thanks a million!! 🙏🏽😊
Can you make a video how to update phpmyadmin? I have a WD MycloudEx2 Ultra that has an app for phpmyadmin but it's outdated and there's no instruction how to update. Thanks for this video. It helps.
Thanks so very much, Tony for aiding my understanding. I’m a novice starting a podcast with a godaddy address. The only way is up! 🙏📈
You're welcome Christine. Goodluck with the podcast :)
Hi! How do I get the IP thing in the browser instead of localhost or html file?
This is helpful. But despite setting up the DNS Zone, the domain is redirecting to ip. What could be the possible reason. I installed wordpress in GCP VM instance
are those ip's internal?
What happends if I have two server and need to point the same domain to both servers?
Tony, i just bought a domain and want to set it up to sell my art. It doesnt have an IP address it seems? What do I do?
Nice presentation
Thanks a lot
After doing every step before changing config files on the server it worked fine but after doing it it stopped working. Unsure why as dns checker reports it's all there (doesn't even work in private window)
Thanks man!!!
thanks, very helpfull!
You’re welcome!
Can you point in to a DDNS address instead ?
How can you get the ip ?there is no section for it
thanks for help works
My Shopify store and domain was set up by someone else. I do not know the Domain Provider. How can I set up the A record and CName now?
Plain and simple video. But one question: your sites don't have a secure (https) connection. If an SSL certificate was installed there, would it have to be re-issued after the A record DNS changes, or is what you've shown enough? Thx!
I change the DNS record A www IP address and A @ IP Address go to DNS checker I'm getting 2 IP address instead of the forwarding IP address?
Hi there, at 5:08 why you have used A record for WWW, ?? why you didn't use CNAME for WWW ?? thnx
That is another option to accomplish the same thing
How can i do
If i want to add another domain in the currently runing website. I just point a second domain to running site. Not to be redirection.
Hi, thanks for your tutorial. I want to ask what to do if someone points their domains to my site without permission? Should I be worried?
Hi bro, I have a question, how can I change my domain to pioneer from wix to a WordPress new website. The point is that I don't want to wix anymore but I need to my domain go to the new website I built in WordPress, but not sure how change it, really appreciate it if you could help
my dns updates aren't propagating on the dns checker
Great tutorial video. Now can you do a additional update video on how to for those of us whos IP address may chance once in a while?
Now if i need to access this website url from outside my home network, how to do that?
Hi, do you know how park domain on different server?
THANK YOU!
You’re welcome!
What ip address is that? is it the home ip or the machine ip?
Hello great video I need some help with my port forwarding in Ubuntu I have port forwarded to my domain but it does not respond from outside the network.
Can we do the same for Subdomain?
I am trying to redirect localhost for Jellyfin at 8096. How do i do this with a port
Caching issues can be solved by ctrl+F5... forces a cache reset.
If i add freenom domain to profreehost then in the cpanel is it to set "A" record dns here ?
Then after installing wordpress on cpanel afterthat if i add cloudflare and replace profreehost nameserver in freenom by cloudflare nameserver then doing it to set dns on cloudflare "A" record so how can i findout that what is my ipv4 address to set it on cloudflare ?
hi...may i know why it's still unable to reach the ip site, even though it's already resolve checked by dns checker
bro how can I change my web hosting ip. I want to change my Server location from the USA to Singapore so how can I do that?
I am having an issue, I am trying to get my home server to work outside my local network. I have punched a hole in my firewall and I am able to point my domain to my local ip. But I am unable to access it outside my local network.
why do some tutorials suggest to use ( * ) instead of @
Great video, Tony!!! Just curious, any way to point a domain name to a No-Ip service provider, since a web server located behind a router. Possible? Thanks!
Hi Tony, What happens to the nameserver section on the domain? Great Channel by the way.
Greetings Boss i bought a sharred domain and hosting on namecheap 4days ago but cant find it online and my cpanel on domains tells me the its not redirected so i dint know what to do
thanks😀
Hi, how do i map it to Iis and not ngx
thanks a lot !
I want to use different domains for different things hosted on same server for eg- webmin, vscode cloud, normal website. How to do that?
My domain registrar doesn't let me use the @ symbol in the dns zones.. cant add the records due to this in the same way..
The @ symbol means the root of the domain, i.e. just the main domain itself rather than some subdomain (so an A record in @ would point example.com to an IP, rather than pointing abc.example.com or blahblah.example.com.) Not all DNS providers use the @ symbol for this in their control panels though - some might just have a field for host name which you leave empty if adding a record for the root of the domain.
Most providers will have good instructions for this in their knowledge base/support site, as it’s a very common question.
how do I solve the caching issue?
After done with this tutorial, how we can setup ssl to domain that already point to IP Address, with free ssl like z*rossl for example, Thankyou