• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question redirect Subdomain

TO-Consulting

New Pleskian
Hi,

I have configured a domain redirect: www.domain1.tld -> www.domain2.tld
It is a permanent redirection with Code 301

DNS configuration is:
Typ A Record: domain1.tld -> IP-Adresse
Typ A Record: www.domain1.tld -> IP-Adresse

If I use the url "http://domain1.tld" everything is working fine. If I use the url with the subdomain "http://www.domain1.tld", I get the page from my server. It wouldn't redirect to the "http://www.domain2.tld".

What is wrong with my DNS configurations?

What I want is, that

Regards Thomas
 
Hi TO-Consulting,


Consider to use a "CNAME" entry, as it is an alias of your previous "A" entry for your domain.tld.

Type CNAME www.domain.tld -> domain.tld​
Hi,

denke, wir können auch auf Deutsch "plaudern"!? Das mit dem CNAME Eintrag, habe ich schon probiert. Dabei bekomme ich jedoch vom Hoster wohin ich weiterleiten möchte, nur die allgemeine Seite, dass hier eine neue Webseite entstehen wird. Der einfache Eintrag der Zieldomain ist nicht ausreichen.

Ich habe nun folgendes gemacht:
  • Allgemeine Weiterleitung rausgenommen
  • Wildcard Subdomain angelegt
  • diese Wildcard Subdomain weitergeleitet
Die ersten Tests mit nicht verwendeten Subdomains waren erfolgreich. Nun muss ich warten bis die DNS Server diese Änderung nachgezogen haben und dann kann ich mit auch mit "www" testen.
 
Hi, sorry, here is the translation:

I have used the CNAME entry without any success. I get the default Webpage from the hoster, that there will be a new website, but not the correct website. If I use the CNAME entry, I have to do more than one simple CNAME entry. I have asked for that information.

But I have played a little bit around and I think I found a solution:
  • changed the default forwarding of the domain to a "normal" website
  • create a wildcard Subdomain
  • forward this wildcard Subdomain to the final website
I have tested it with not used Subdomains and it have worked finde. I will wait till then DNS Systems have aged out the old Subdomain entries and than I will trie it again with the "www" subdomain.

Regards Thomas
 
Hi, sorry, here is the translation:

I have used the CNAME entry without any success. I get the default Webpage from the hoster, that there will be a new website, but not the correct website. If I use the CNAME entry, I have to do more than one simple CNAME entry. I have asked for that information.

But I have played a little bit around and I think I found a solution:
  • changed the default forwarding of the domain to a "normal" website
  • create a wildcard Subdomain
  • forward this wildcard Subdomain to the final website
I have tested it with not used Subdomains and it have worked finde. I will wait till then DNS Systems have aged out the old Subdomain entries and than I will trie it again with the "www" subdomain.

Regards Thomas
Hello,
Have you remove the A records before adding the CNAME ? And have you applied the modification ?

Screenshot5.png
 
There is still the problem with the "www" subdomain. With every other subdomain ist works fine, it will be redirected/forwarded. What I have to do to forward also the "www" subdomain?
 
Back
Top