Redirect domain.com/path to different IP address

vwrafi

New member
Joined
Jan 17, 2018
Messages
1
Hello.

We are using DirectAdmin on our VPS server and we would like to do following scheme.

We have got domain.com and it is parked under IP address 1.1.1.1 on VPS1 server. Under DNS Management we point domain.com. A record to another IP address 2.2.2.2 and this IP is on VPS2 server. We have pointed mail A record and MX record to 1.1.1.1 IP address. So everyone exploring our website is using VPS2 server and everyone using our mail server is using our VPS1 server.

Is it possible to configure DNS on DirectAdmin in such a way, that everything will be the same, except everyone using domain.com/path will be exploring our VPS1 server?

So, domain.com on VPS2 server, mail.domain.com on VPS1 server, domain.com/path on VPS1 server.
 
Back
Top