• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

pages on site show IP number instead of domain

A

akiva

Guest
Hi

Our homepage shows our domain name in the address -- but any links off the home page show up as the IP address instead of the domain:

Home page www.domain.com (works)

any links off that page shows up as

###.###.###.###/pagename.html

Any idea why?
 
this is a good question.. perhaps, the links to the subpages are generated this way, or they are written in a static way,
or there is some kind of rewrite rules ..

You can start with checking the start page
/var/www/vhosts/domain.com/httpdocs/index.html (index.php) of the domain,
proceeding with checking the domain configuration files (if any):
vhosts/domain.com/conf/vhost.conf
vhosts/domain.com/conf/.htaccess

post if you manage to discover anything
 
Back
Top