• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

www CNAME record problems

M

mysticBoer

Guest
EDIT : Tomcat application issue

Hi,

I have the following problem :

When I type in "www.mydomain.com" OR "mydomain.com" in the address bar, I end up at the same place. However, if I want to go into an application it doesn't react the same.

If I type "http://mydomain.com/appname" it works, but if I type "http://www.mydomain.com/appname" then it displays a message stating that states "Not Found
The requested document was not found on this server. "

I think this has something to do with my DNS settings, but as far as I know it is set up correctly. Any help please!!?
 
Ok, I have determined that this is not a DNS issue.

If I go to either 'http://mydomain.com/htmlfolder/' or 'http://www.mydomain.com/htmlfolder/' I see the page...

However, when I try to do the same thing to a Tomcat application, I can only access it if I DON'T have 'www' in the URL. :confused: :confused:

This is very urgent, so if somebody has a clue as to what is going on here...please please let me know...
 
I don't know whether anybody is interested , but I managed to solve the problem.

I added an <Alias>www.mydomain.com</Alias>
to the host section of the server.xml file in the Tomcat/Conf directory. I restarted Tomcat and voila, it works....

I still want to know why I had to do this in the first place though, so if somebody can point this out to me, I would really appreciate it... :)
 
Back
Top