View Full Version : How can I add domain
cannibal
01-16-2004, 12:00 PM
How can I add domain for ex
my domain is www.domain1.com
and I want www.domain2.com forwards to www.domain1.com with no account for www.domain2.com
can users do this or only admin ??
thanks......
l0rdphi1
01-16-2004, 01:38 PM
http://www.domain1.com:2222/CMD_DOMAIN_POINTER?DOMAIN=domain1.com
cannibal
01-16-2004, 01:45 PM
Is DOMAIN POINTER same as add domain ??
l0rdphi1
01-16-2004, 02:00 PM
No, a DOMAIN POINTER will only mask the real domain with its name, BUT after adding a DOMAIN POINTER you are free to use .htaccess and forward the pointer to the real domain:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain2\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain1.com/$1 [R=301,L]
cannibal
01-17-2004, 10:13 AM
Where I must put the code in .htaccess ??
DirectAdmin Support
01-17-2004, 12:44 PM
Hello,
The domain pointer should redirect all connections from domain2.com to domain1.com. This is done in the http.conf file and you shouldn't need to worry about it. Only if you add a new full domain "domain2.com" would you need to use the .htaccess files. The domain pointer alone should suite your needs.
(There is no document root / public_html for the domain pointer, so there wouldn't be any place to put an .htaccess file.)
John
cannibal
01-17-2004, 02:10 PM
OK I pointed the domain domain2.com to the domain1.com but now 3 days and I can not access the domain2 any idea ??
DirectAdmin Support
01-18-2004, 11:50 AM
Hello,
www.dnsreport.com
make sure it's setup correctly, uses the correct nameservers, and is pointing to the server. If you are willing, just paste the domain here, and you'd be surprized what we can figure out remotely by just knowing the name of the domain :)
John
cannibal
01-19-2004, 08:48 AM
Every thing is good on dnsreport.com !
any idea ??
DirectAdmin Support
01-19-2004, 10:07 AM
Hello,
If the domain pointer is setup correctly, and the dns stuff is all working correctly, then it should be workign correctly. Is it resolving on your end? what's the error.. we can't go much farther without knowing the problem :)
John
cannibal
01-19-2004, 11:58 AM
from user panel
ADVANCED TOOLS > DOMAIN_POINTER > then I put domain in the cell then I clicked ADD
note: the domain shows right on DNSREPORT.com
but I can't access the domain even I can't access the doamin by
http://www.domain2.com:2222
please help....
DirectAdmin Support
01-20-2004, 11:11 AM
Hello,
Dnsreport does a realtime lookup from the nameserver. If you are using you're ISP's nameservers, and you were trying it out before it was setup, they'll have a "stale" version of the dns record. You might have to wait a bit for your ISPs nameservers to be updated. Does domain2.com by itself work? would be the same issue.
John
cannibal
01-24-2004, 05:13 AM
Please help nothing new I can not access the domain :(
DirectAdmin Support
01-24-2004, 12:36 PM
Hello,
You'll have to provide more information, either post the real domain name to the forum so we can make sure the dns is working, or just email all your account info (ip, rootpass, domain name, admin da login/pass) to support@directadmin.com
John
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.