Domain Problem

Chrono Cr@cker

New member
Joined
Nov 17, 2005
Messages
3
I am having some problems with DirectAdmin and have not been able to work on solutions for them. So, if you know what to do in this case, please tell me and help me out.

If you know DirectAdmin, there are two types of domains that you can use. First is Domain Pointers, Domain Pointering is simply a method by which you can redirect your new bought domain to your original domain but it is more than redirecting, fully same. The other is domain setup which allows you to create a new domain in your domain folders and then you can use it to create email addresses on that domain, etc.

Firstly, when I got hosting here, my orginial website is & was www.abc.info. Next, later I got a domain called www.abc.com and pointed it to the .info domain. However, I would like to use email address like [email protected], but this cannot be done until I add abc.com to the Domain Setup. If I try adding, then it says "Domain Already Exists". If I delete .com from the Pointers and then add it to setup, it adds but then that doesn't redirect to my site as it is added as a new folder. If I add it first in Setup and then try adding it to pointers, that doesn't work either. Can anybody offer me a solution as to how I can get .com to point to .info and at the same time use .com email addresses.

~ Chrono Cr@cker

Thank you
 
I think you want to use a symlink...

Add both domains to a user and then symlink the public_html directory from abc.info to abc.com. This will allow the same web content to be served from either URL.

Alternately, you could simply redirect all traffic from abc.com to abc.info using a redirect or a .htaccess file for abc.com.

Note that you'll have to set up pop accounts for each domain (or use a catch-all or similar).
 
ballyn said:
I think you want to use a symlink...

Add both domains to a user and then symlink the public_html directory from abc.info to abc.com. This will allow the same web content to be served from either URL.

How can I do this??
Please do tell. I am not that experienced with direct admin.

Thanks

~ CC
 
The easiest way:

Make abc.com into a domain so you can use email. Then, in abc.com's public_html directory create a file called index.php which includes the following:

<?php
header("Location: http://www.abc.info");
?>

Delete the index.html file already there and that should take care of it.
 
Or just use the option domain point what directadmin has on the user panel????
 
Back
Top