• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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