简体   繁体   English

我已经从namecheap购买了域名,并通过自己的PC托管了网站,如何将域名与ip相关联?

[英]I've bought a domain name from namecheap and I host my website from my own PC, how to associate domain name to ip?

I'm trying to map my ip to the domain name I bought but little did I know, it's more confusing than I thought it would be. 我试图将我的IP地址映射到我购买的域名,但我所知甚少,这比我想象的要更加混乱。 Where exactly does the link between the IP and the domain name happens? IP和域名之间的链接到底发生在哪里? Does it have something to do with nameservers or domain redirections? 它与名称服务器或域重定向有关吗?

You will need to update your DNS settings and point to the IP you want. 您将需要更新DNS设置并指向所需的IP。 The company / website your domain is registered with will be able to help here / allow you to do this online. 您的域名注册所在的公司/网站将能够在此提供帮助/允许您在线进行此操作。

be aware that a lot of residential addresses will have dynamic IP addresses which may change frequently causing you to need to update the DNS a lot. 请注意,许多住宅地址将具有动态IP地址,该地址可能会经常更改,从而导致您需要大量更新DNS。 Id recommend looking at a free web host (freehostia.com for example) if you are able to host your website / server online 如果可以在线托管网站/服务器,则ID建议您查看免费的虚拟主机(例如freehostia.com)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将我的openshift网站定向到我购买的gandi.net域名? 我试过了,但是不行吗? - How do I direct my openshift website to a gandi.net domain name I bought? I tried, but it's not working? 本地 IIS 中的网站和从 GoDaddy 购买的域名 - 下一步 - Website in IIS locally and Domain Name bought from GoDaddy - What Next 我如何将我的www域名转发到根域 - How can i forward my www domain name to root domain 购买域名并将其关联到我的电脑 - purchase of domain name and associate it to my computer 我想将服务器添加到我的域名 - I want to add a server to my domain name 尝试访问网站的域名时为什么会出现404错误,但是如果我的域名/住所能正常工作? - Why am I getting a 404 error when trying to access my website's domain name, yet if I domain name/home it works? 是否可以让GoDaddy托管我的域名但使用AWS托管我的网站? - Is it possible to have GoDaddy host my domain name but use AWS to host my website? 网站显示IP非域名 - Website Showing IP Not Domain Name 如何创建自己的域名,如abc.def? - How to make my own domain name like abc.def? 我在 AWS ECS 上部署了一个 react 应用程序并购买了一个自定义域,但我无法在域名前加上“www”访问它 - I deployed a react app to AWS ECS and bought a custom domain, but I can not access it with “www” before the domain name
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM