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

Posted on 2011-04-20
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:

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
    LVL 2

    Expert Comment


    Please follow the below steps on plesk .

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

    Author Comment

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

    Expert Comment

    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

    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

    Because I solved the problem before anyone else did.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
    There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now