How do I allow a sub domain to point to another server with Plesk?

Posted on 2011-04-20
Medium Priority
Last Modified: 2012-05-11
I am replacing an old website to a new Magento site on another server. Both are live, although the new site, while in development, is behind a protected directory. This was achieved by creating an A record pointing to the new server: production.domain.xxx.

Due to the site almost being complete, I went to remove the protection on the directory and the site failed with a internal error 500. Once the protection was switched on again, it works fine. Why is this?

Ideally, I would like the new domain site to work without protection during these final stages. Do I need to change how I'm doing the redirect?
Question by:JDub100
  • 3

Expert Comment

ID: 35432083

Please follow the below steps on plesk .

Start->Domains->mydomain.de->DNS Settings and edited the subdomains A-Record and assign IP of new server.

Author Comment

ID: 35432161
This is how it is currently setup - This would be no different.
LVL 12

Expert Comment

ID: 35440693
1. Is the new server throwing the 500 error or the old server that does the redirect?
2. Can you provide the url?
3. I assume that on the new server you have set up the dns records.

Accepted Solution

JDub100 earned 0 total points
ID: 35440733
The new server was giving the redirect. The problem was that I had set htaccess to valid users only. Once I removed that, all worked nicely. Alas, I have another bigger issue with the sub domain, but I'm just about to post a question about it now.

Author Closing Comment

ID: 35465171
Because I solved the problem before anyone else did.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question