• this is on my server at home, I have been fighting this for over a week now, I have tried every post I can find trying to resolve this but I’m not making any progress. I used the Duplicator plug in to set up my site that always had the Domain name https://www.utmesh.com . After running duplicator and rebuilding the site, it is working but when I type in the URL for the site, it automatically changes to the IP address. I get to the site, but I want the site URL to be the name, not the IP. I have tried changing both the URL and the site address from the admin panel, I have even installed webmin and modified the site name and URL there, but it will not change the URL from the IP. what else could I try? what am I doing wrong?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • It could be that the server isn’t setup to allow WP to create/rewrite the .htaccess, just navigate to your site root where WP is installed and look for the .htaccess file, make a copy of it first just for a backup, and then delete it.

    Then visit WP admin’s Permalink setting page (just viewing that page WP will automatically rebuild .htaccess, but since you are there just take a chance to review your permalink settings see to it that it’s set correctly and then click save).

    Thread Starter kd7vea

    (@kd7vea)

    Thanks for the response, but sadly, this did not fix it. is there something that could be done differently from the beginning to fix this, or is it a Duplicator plugin issue? if I need to start from scratch and reinstall Centos on the server, I can do that. Any other ideas are greatly appreciated.

    • This reply was modified 6 years, 8 months ago by kd7vea.
    Thread Starter kd7vea

    (@kd7vea)

    I started thinking about the htaccess file, so I tried something, I deleted wordpress from the server, typed in my URL, and the apache homepage opened with the IP address again. I deleted apache and reinstalled, and it still changes the URL to an IP address. so the issue is rooted deeper. I tried changing the vhost file for the URL, but still it pops up with the IP address. so basically, I still have no idea.

    So this is obviously a server setting issue and I’m not familiar with it. This problem seems to me like when we buy a web hosting from shared web host and it will give us ip address for site access while waiting for the domain name. So I guess there must be some server configurations that need to get right.

    I’d try asking over at serverfault.com

    Thread Starter kd7vea

    (@kd7vea)

    thanks for the info, Ill try there. I was sure it had to do with the Duplicator plug in because it was running the backup that started this issue, but after uninstalling apache, PHP, and wordpress and then reinstalling apache, it was still changing to the IP. I will admit that I am not at the top of the game with linux or hosting, I can just follow tutorials really well, so when something like this happens, it really throws me off. although, I am learning a lot about the file structure and permissions, so at least some good has come out of this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘site only shows IP and not domain name’ is closed to new replies.