Portal Home > Knowledgebase > Articles Database > Make a DNS redirect from Plesk to a Directadmin server
Make a DNS redirect from Plesk to a Directadmin server
Posted by pedrojose, 05-23-2010, 11:00 PM |
Hello,
I have 1 server running Plesk9, with 3 redundant offsite nameservers. And i have 1 domain (example.com) hosted on this server and i need to make a redirect from this domain to a subdomain hosted in another server (running directadmin). In a simple way:
When someone types example.com it should redirect to subdomain.example.com
So i have already created in the subdomain external server and now i want to know what changes do i have to make in Plesk dns settings for the domain example.com to aplly the redirect to subdomain.example.com.
I really appreciate if someone can give an advice / help.
Thanks
|
Posted by madaboutlinux, 05-23-2010, 11:40 PM |
Create a index.html file under the domain example.com and insert the following code:
this will make sure to redirect the visitor to subdomain.example.com if he visit your website example.com
|
Posted by pedrojose, 05-23-2010, 11:57 PM |
hello madaboutlinux,
thanks for the tip, but i want to make the redirect using a DNS method, in order that if the example.com server goes offline the site will remaain online redirecting to subdomain.example.com on the external server. The site will remain up, because i have 3 NS and even in case of my server goes offline i still have a ns3 in a external location serving the dns requests.
So i need to find a way to make it using dns.
Any idea?
|
Posted by Andrew Moore, 05-24-2010, 12:26 AM |
http://www.webmasterworld.com/forum23/1025.htm
http://www.timlinden.com/blog/websit...-dns-redirect/
|
Add to Favourites Print this Article
Also Read
host name? (Views: 503)