Domain Name to point to droplet

January 9, 2015 5.8k views

Hi,

My domain floatingmotion.com is with the https://www.namecheap.com/ and on my account with them, I setup DNS nameservers as ns1.digitalocean.com, ns2.digitalocean.com, ns3.digitalocean.com So it means all things are done for floatingmotion on namecheap.com account.

Now what are the changes I need to do to assign droplet to this domain name floatingmotion.com. Site is here 192.241.197.114/realestate/ under the droplet, I created the new folder "realestate". Root files are for some other domain.

Only landing page is working fine. None of the internal pages like http://floatingmotion.com/search-address-result/ are not working. How to address this issue,

Thanks,

2 Answers
by Etel Sverdlov
This article walks you through setting up the DNS for your site. The tutorial includes steps to set up an A records, point your nameservers, and provides some information about MX records.

Every link you have on the website is pointing to the "IP version" of your website.
You should change that, pointing URLs to the "domain version" :)

For example:
<a href="http://192.241.197.114/real_estate/how-it-works/">How It Works</a>
Should be replaced by:
<a href="http://floatingmotion.com/real_estate/how-it-works/">How It Works</a>

Else, your webserver software should be able to correct that, but that's not very good for resources :P

  • @chris670573: Like @missaglialfio said, you need to replace all occurrences of your IP address with your domain name. It looks like you're using Wordpress, so doing that is very easy. Log in to your Wordpress admin dashboard, navigate to Settings -> General, and set Site URL and Home to your domain name.

  • The main issue is that internal pages like "floatingmotion.com/search-email-address" are throwing 500 internal error. Same page is working fine If I opened like this way "?page_id=679" even not able to submit forms on these page. Blank page is coming.

Have another answer? Share your knowledge.