• 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

view domain before resolution

S

slpc

Guest
In Plesk 6.5, it was IPADDRESS/domain.com_non_ssl

This no longer works for me in Plesk 7x. I've also tried IPADDRESS/domain.com with no luck.

Anybody know how to view the domain before DNS resolution?
 
If you're using exclusive hosting for the site, meaning one IP per site you should be able to just peck http://IPADDRESS into a browser and pull up the site just like any other hosting server.

If you're using shared hosting you have to have DNS working before you can see the site since you have to access the site by name for the host headers to work correctly.
 
That's ridiculous. There should be a way to view your site before the domain name populates.

Please explain why it worked before using the address method I listed above on shared IP's?
 
http://IPADDRESS/domainname.com is what your looking for.

If that is not working you have other problems.

When you visit http://IPADDRESS do you see the "Default Plesk Page" or do you see a domain on your server?

If you see "Default Plesk Page" it should work as i said above http://IPADDRESS/domainname.com.

But if you see a website on your server it means that this website is set as the default domain for the ip address and http://IPADDRESS/domainname.com will not work unless you disable that domain as the default site for the ip address.
 
Originally posted by DigitalEmotions
http://IPADDRESS/domainname.com is what your looking for.

If that is not working you have other problems.

When you visit http://IPADDRESS do you see the "Default Plesk Page" or do you see a domain on your server?

If you see "Default Plesk Page" it should work as i said above http://IPADDRESS/domainname.com.

But if you see a website on your server it means that this website is set as the default domain for the ip address and http://IPADDRESS/domainname.com will not work unless you disable that domain as the default site for the ip address.

I am using one IP for a dedeicated site to which I have assigned the site as the default domain. However, I have another IP that I use for all my other sites and have not set any of those sites as the default domain for that IP. When I type http://IPADDRESS, I get:

"Bad Request (Invalid Hostname)"

Anymore ideas?
 
Originally posted by slpc
I am using one IP for a dedeicated site to which I have assigned the site as the default domain. However, I have another IP that I use for all my other sites and have not set any of those sites as the default domain for that IP. When I type http://IPADDRESS, I get:

"Bad Request (Invalid Hostname)"

Anymore ideas?

This is perfectly normal, the server doesn't know which domain to display as there is no default domain for your shared I.P. You would need to specify a domain name hosted on the shared I.P. address i.e. http://IPADDRESS/domainname.com

Hope this helps
 
That's what I thought, but I was thrown off by this statement:

When you visit http://IPADDRESS do you see the "Default Plesk Page" or do you see a domain on your server?

So now I'm back to my original question... why can't I view the domains that are shared on that IP via "http://IPADDRESS/domain.com"??
 
If you are receiveing the error "Bad Request (Invalid Hostname)" i think plesk is trying to load a default domain which no longer exists on your server.

Connect to the Plesk MySQL database (psa) and check the IP_Addresses table, change default_domain_id to 0 for the ip address.
 
same problem after zeroing field

hi,

I have the same problem with my server using Plesk 7 win2k3.

I have edited the ip_addresses table and set default domain to 0 and even rebooted the server. Plesk tells me there is no default domain on the server, but I am not getting the default page when accessing http://66.135.39.36/ I am getting the OLD default domain still!
:confused:
 
Back
Top