• 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.

Very Unusual - Cant't describe in the title

T

Torgut

Guest
Well... the story goes like this:

I try to load an index.php file in this specific domain, let's call it testing.com. So:

www.testing.com/index.php

The browser wants to save the file instead of showing the contents. I check the situation. Yes, PHP wasn't allowed. I turn it on. But the situation remains the same.

In the end, I delete the domain to recreate it. Well... now the most amazing thing happens... let's call my default domain as default.com

If I type
www.testing.com the browser is redirected to www.default.com
Perfectly normal.

But then, if I type
www.testing.com/index.php
the browser keeps trying to save the file!!! Even if there is no testing.com domain in the server anymore. And no, there isn't no index.php in the default domain neither!

So this is haunting me! Can't figure out what's going on. Someone knows this situation?
 
Hi,

Possibly www.testing.com is resolving to foreign IP address (not belonging to your server). But it is not likely since when you go to http://www.testing.com/ you get http://www.default.com/

Another possibility is that www.testing.com resolves to your server and when you removed this domain it shows default domain page for the IP address when you go to http://www.testing.com. But again, why would it not show 404 error for http://www.testing.com/index.php

I would recommend checking the following:
1. To what IP does www.testing.com resolve.

2. Double check that this domain is not present in Plesk and rebuild apache configuration:
/usr/local/psa/admin/bin/websrvmng -v -a

3. Check access and error logs for default domain and trace what appears there when you browse for www.testing.com and www.testing.com/ndex.php

4. Double check what is the default domain and make sure it does not have index.php Then create a sample index.php and try accessing www.testing.com/ndex.php again - what will it show?
 
also one more thing to check - does .php work for any domains on this Plesk server?
If no then make sure that php module is loaded in httpd.conf and handler for .php is defined in httpd.conf
 
Back
Top