troubleshooting Question

wordpress removing port off of ssl path

Avatar of Mike Waller
Mike WallerFlag for United States of America asked on
PHPApache Web ServerWordPress
3 Comments2 Solutions668 ViewsLast Modified:
Okay, so I created a ssl cert over port 8083 on domain: secure.domainhidden.com
 
However, when I type in https://secure.domainhidden.com:8083
 
the browser removes the port from the url and I get an error which says:
 
"You attempted to reach secure.domainhidden.com, but instead you actually reached a server identifying itself as domainhidden.com. This may be caused by a misconfiguration on the server or by something more serious. An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of secure.domainhidden.com. You should not proceed."
 
When I add in a php page to the above url, it works though:
 
https://secure.domainhidden.com:8083/secured_page.php
 
Any ideas as to why that it's shaving off the port number if accessing the root index file?  

Also, it is a wordpress site on the root so maybe that is it.

In my wp_config.php I placed the following too:
 
$droot = "/";
$url = "domainhidden.com";
define("_SERVER",$_SERVER['DOCUMENT_ROOT'].$droot);
define("_SECUREURL",'https://secure.'.$url.':8083'.$droot);
define("_INCPATH",_SERVER.'include/');
 
also, my .htaccess file is not tripping anything up.

All ports are open and active in Apache network as well as in juniper firewall.

So the cert is working just fine, but only if I hard code in a .php page not on a page in wordpress framework.  Is there a solution to this madness experts?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros