Domain name shows IP address

Unrealworld

Senior Member
Joined
Mar 28, 2016
Messages
831
Reaction score
183
I just migrated my site to digitalocean but after some hours when I type domain name it shows ip address and can’t open.
 
Check on your domain settings
Double-check your server Configuration
Sometimes after restarting your web server it can resolve your issues
 
Seems like some wp config (file or database) or htaccess/virtualhost server side problem,
  • check the website url in wp-admin settings
  • check wp-config file
  • check your htacces file,
    disbale it by renaming the file, restart litespeed if you're using it and test if it works
  • check your virtualhost server file
  • you can add these couple of line to wp-config to force the website url, add it at the bottom of the file where they're commenting where you can edit
    Code:
    define( 'WP_SITEURL', 'https://example.com' );
    define( 'WP_HOME', 'https://example.com' );
If the last one worked, it's due to the way of importing the database during the migration,
you'll have to run a query that will replace all the values of the ip with the domain in the database,
more specifically in the wp_posts & wp_options tables to replace the internal links & website domain values,
make sure to backup the database before making any changes, it could get screwed
 
It sounds like there might be an issue with your DNS Settings....
Check on your domain settings
Double-check your server Configuration
Sometimes after restarting your web server it can resolve your issues
Seems like some wp config (file or database) or htaccess/virtualhost server side problem,
  • check the website url in wp-admin settings
  • check wp-config file
  • check your htacces file,
    disbale it by renaming the file, restart litespeed if you're using it and test if it works
  • check your virtualhost server file
  • you can add these couple of line to wp-config to force the website url, add it at the bottom of the file where they're commenting where you can edit
    Code:
    define( 'WP_SITEURL', 'https://example.com' );
    define( 'WP_HOME', 'https://example.com' );
If the last one worked, it's due to the way of importing the database during the migration,
you'll have to run a query that will replace all the values of the ip with the domain in the database,
more specifically in the wp_posts & wp_options tables to replace the internal links & website domain values,
make sure to backup the database before making any changes, it could get screwed
I have this error: NET::ERR_CERT_AUTHORITY_INVALID
 
The funny thing is i have this issue on chrome only
 
I have this error: NET::ERR_CERT_AUTHORITY_INVALID
Try reinstalling the SSL certificate, clear the website & browser cache and cookies and check again,
Looks like your SSL was installed in the previous server and not into the current one,
Always double check with the incognito mode to make sure of the status update
 
Verify your domain settings and review your server configuration. Restart your web server I think it solve the issues you're facing, so make sure to double-check these aspects for a solution.
 
send me details may be I can help you
Verify your domain settings and review your server configuration. Restart your web server I think it solve the issues you're facing, so make sure to double-check these aspects for a solution.
Wait more... let the dns get propagate...
Try reinstalling the SSL certificate, clear the website & browser cache and cookies and check again,
Looks like your SSL was installed in the previous server and not into the current one,
Always double check with the incognito mode to make sure of the status update
I cleared the cache of the chrome browser and now works normal. I'm just confused with one thing, when i write the ip address instead of domain name it shows the copy of the website and i can log in, thats normal?
 
I also see big improvemends on speed test using pagespeed insights and i have performance score 100 on mobile. With hostgator i had 80-85.
 
I cleared the cache of the chrome browser and now works normal. I'm just confused with one thing, when i write the ip address instead of domain name it shows the copy of the website and i can log in, thats normal?
No,
Did you add the domain in the website hosting panel or just point the domain to the ip?
Seems like virtualhost problem
 
Check DNS settings, ensure proper propagation time (up to 48 hours), verify DigitalOcean DNS and server configurations, clear browser cache, and confirm SSL setup. If issues persist, contact DigitalOcean support.
 
No,
Did you add the domain in the website hosting panel or just point the domain to the ip?
Seems like virtualhost problem
You mean in wordpress site address? Yes. Added CNAME and A dns records domain name directs to ip address. The copy of the website still exist but when i try to log in it redirects to domain name.
 
Back
Top