- Newest
- Most votes
- Most comments
Thank you for your response but the problem is that now I can access my dashboard both ways via IP address and via my domain name and see exactly the same site but in general settings on each of them says correspondingly either an IP address or my domain. Ideally I would like to somehow remove the connection to Wordpress via an IP address, but I don’t know if that is possible at all? Just don’t want to lose anything as I have done a lot of work on the website in the last week
Well, running a dig
command on beadembroideryart.com points to 18.168.98.182 so it seems like you DNS is setup correctly which means it's most likely a Wordpress configuration issue. Have you checked your general site settings to see what it shows for site name? It's possible that since you set this up prior to getting the domain name, that it has the IP address listed as the site name instead of your domain name.
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 9 days ago
This is by design in case your domain is not accessible. However, you can set up the htaccess to forward the IP to the domain. If you are using the bitnami image, you can adjust the htaccess.conf and do something like:
RewriteEngine On RewriteCond %{HTTP_HOST} ^ 18.168.98.182$ [OR] RewriteRule (.*)$ http://beadembroideryart.com/$1 [R=301,L]
I also recommend setting up HTTPS/SSL if possible for better security.