Link to home
Start Free TrialLog in
Avatar of JDub100
JDub100

asked on

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

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?
Avatar of singh677
singh677
Flag of India image

Hello,

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.
Avatar of JDub100
JDub100

ASKER

This is how it is currently setup - This would be no different.
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.
ASKER CERTIFIED SOLUTION
Avatar of JDub100
JDub100

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JDub100

ASKER

Because I solved the problem before anyone else did.