开发者

Pointing DNS name to IP address on local machine

开发者 https://www.devze.com 2023-02-09 03:55 出处:网络
This might be a stupid question but i would really appreciate any compact answer. I have uploaded a Joomla site on my local machine using a s开发者_运维技巧tatic IP address (213.221.211.111 for exampl

This might be a stupid question but i would really appreciate any compact answer. I have uploaded a Joomla site on my local machine using a s开发者_运维技巧tatic IP address (213.221.211.111 for example). I have registered a domain (like www.example.com) on Godaddy.com. Within their dashboard, I set the primary and secondary name servers (I looked it from my router setup page). Is there any else I need to do so that entering e.g. www.example.com would take the user to 213.221.211.111.


Inside of godaddy, you need to map "www" to your static IP address. It would be a good idea to also map the default entry for your domain, sometimes called "@".

Edit: Upon further reading of your original question, you don't set the primary and secondary DNS servers for your domain to your ISP's servers. Your domain's primary and secondary servers are for the addresses of the servers that are responsible for serving your domain. Unless you have your domain hosted with your ISP and not with godaddy, then this is not the right thing to do at all. If you have your domain hosted with godaddy, follow their instructions for setting up a domain and pointing "www" at an IP address.


In addition to what jricher said, you will also probably need to port forward.

0

精彩评论

暂无评论...
验证码 换一张
取 消