ns1

I'm hosting www.deeter197.com on my Linode at 172.105.104.59. I had this site running on a Linode but it got taken down because my wife lost our credit card and I cancelled the card and didn't update my account.

So I'm starting over. I told GoDaddy about ns1 … ns5.linode.com and uodatre my A record to point to the new server, I can get to the site using the IP address but not www.deeter197.com. Can you think of anything I'm missing? I would think that Linode would be serving this name. Does it take awhile to go through the system?

thanks
Dan Kotcher

3 Replies

When I visit www.deeter197.com I get redirected to the IP address. This points to a misconfiguration within your web server rather than a DNS resolution issue, since I'm able to be redirected to the website from the domain and there is an A record attached:

dig +short www.deeter197.com.
172.105.104.59

curl -IlL www.deeter197.com
HTTP/1.1 301 Moved Permanently
Server: nginx/1.14.2
Date: Wed, 30 Sep 2020 21:09:24 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Redirect-By: WordPress
Location: http://172.105.104.59/

HTTP/1.1 200 OK
Server: nginx/1.14.2
Date: Wed, 30 Sep 2020 21:09:24 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Link: <http://172.105.104.59/wp-json/>; rel="https://api.w.org/"
Link: <http://172.105.104.59/wp-json/wp/v2/pages/6>; rel="alternate"; type="application/json"
Link: <http://172.105.104.59/>; rel=shortlink

The curl output for your domain shows that you're using Nginx. You may need to change your server block so that the site responds on the domain. Specifically, you'll need a line that states rewrite ^ http://example.com$request_uri? permanent;. This StackOverflow post might be helpful for providing more context. I'd also suggest reviewing our guide to configuring Nginx for some additional configuration examples.

That specific redirect is coming from wordpress.

From that first curl request jyoo posted:

X-Redirect-By: WordPress

You can change that in wp-admin; goto the 'Settings' section and in the first 'General' section should be a pair of boxes for 'WordPress Address (URL)' and 'Site Address (URL)' that you likely need to update to use the name.

@millisa I missed that entirely. Thank you for posting more accurate instructions :)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct