• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

IIS conflicts - Server named the same as the domain

M

mediamacros

Guest
Our hosting company set up our server with Plesk and I think there is a conflict in how they did this. We need to host 1 domain. They set the server name as "thedomain.com"

In all the years I have done server admin this is a big no-no. You never name the server the same as the actual domain. To get a site in with email, stats, etc we had to add the domain, so in domains we get
thedomain.com

Here is where it gets strange. No matter what we do the domain points to the default. There is an entry in IIS for the domain itself and the default domain. I can disable the default and it just says it can't find the domain. I assume Plesk is overriding IIS as this should never be working this way.

How can I fix this so that the domain is properly linked for stats, mail, etc. I know I need to move my files, but I have to get it pointing to the correct directory first.
 
Hello,

You can use the same name for domain name and server name. If the domain is located on the server.

Could you specify this:
No matter what we do the domain points to the default. There is an entry in IIS for the domain itself and the default domain. I can disable the default and it just says it can't find the domain. I assume Plesk is overriding IIS as this should never be working this way.

> There is an entry in IIS for the domain itself and the default domain.
If you add a domain via Plesk, then the domain will appear in IIS server.
> I can disable the default and it just says it can't find the domain.
Specify it, please.
> I assume Plesk is overriding IIS as this should never be working this way.
Plesk uses PleskControlPanel domain name and it does not break any other domain. Plesk listens all ip address on your server, the port number 8443, so is the domain is resolved correctly and you just type:
domain.com in the browser, you get the domain page.
if you will try:

https://domain.com:8443 you get Plesk Login page.
 
Basically I am quite used to adding sites via IIS directly. If I check teh IIS settings there is an entry for the domain and it should point to the folder domain.com/. There is also a default entry with no named host headers, just the catch all for the IP. Logically, if I hit the site it SHOULD show me the contents of the folder domain.com/ Instead, it always shows the default. If I manully stop the default site in IIS I get an error that the host can not be found. I am just trying to fix this so that the domain points to the correct folder so mail, tracking, etc all work correctly via Plesk.
 
To make sure the right host header is used, you can take the followin steps:
1. Find out all the Host headers used for the sites. Go to IIS Manager -> Web Sites -> Advanced
2. Then, check the HTTP log files of these suspicous websites to see, which host header is used in the requests. For the Plesk websites you can find the logfiles in "%plesk_vhosts%\domain.com\statistics\logs", for the default website the logs are in c:\windows\system32\logfiles\w3svc1
 
Back
Top