View Full Version : how to capture sub-domain traffic?
RealNames
02-25-2004, 07:58 PM
I am losing lots of visitors on several sites where the old site run by the prior site owner heavily used sub-domains. These are some dropped domains I got using pool.com.
Do not know the names of the sub-domains. So my question is how can I capture visitors and send them to my index page of those going to the sub-domains, similar to 404 errors to non-working htm pages?
Is there something in the CP to do that, or as an alternative, an htaccess that works for sub-domians too?
RealNames
02-26-2004, 09:41 AM
Anyone know how?
DirectAdmin Support
02-26-2004, 10:03 AM
Hello,
You'll need to add a dns A record:
* A 1.2.3.4
where 1.2.3.4 is your IP. Then in the custom httpd.conf tool, add:
ServerAlias *.|DOMAIN|The feature can be accessed from Admin Panel -> Admin Settings -> Custom httpd.conf
John
RealNames
02-26-2004, 10:39 AM
When I go to the DNS Settings menu and try to click the white box next to A it is unclickable for some odd reason. If I try to Modify MX Records it says "Cannot modify MX records...You do not have permission to add records to your zone" :confused:
P.S. I am both the Admin & The Reseller so I have no idea why permission would be denied.
DirectAdmin Support
02-27-2004, 09:36 AM
Hello,
That just means the User account doesn't have dns control. You can either set it up from Admin Panel -> DNS Admin -> domain.com .. or else you can enable "DNS Control" for the User account. Reseller Panel -> List / Modify Accounts -> username OR "Modify your own User data" if it's yourself -> check DNS Control -> Save
John
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.