xyz.com to sub.abc.com

dannygoh

Verified User
Joined
Feb 9, 2004
Messages
391
Location
Malaysia
Hello,

My main domain is abc.com in DirectAdmin. I have another domain xyz.com and when people goto xyz.com, it will redirect to sub.abc.com. How can I achieve that?
 
Create an index.html file with the following contents and place it in the public_html folder for xyz.com...

<html>

<head>
<title>sub.abc.com</title>
<meta http-equiv="Refresh" content="0;url=http://sub.abc.com/">
</head>

<body><p>sub.abc.com</p></body>

</html>

So now any user that visits xyz.com will automatically be redirected to sub.abc.com.
 
my account only available for 1 domain in DirectAdmin. Can Domain Pointer or DNS CNAME do something about it?
 
dannygoh,

You'll have to set up the xyz.com domain somewhere with redirection to sub.abc.com.

Jeff
 
Back
Top