Results 1 to 6 of 6
-
07-30-2008, 12:12 PM #1Web Hosting Evangelist
- Join Date
- Nov 2006
- Posts
- 459
how can i point all the sub-domin to another ip ?
Hi,
i host a website with mydomain.com on server-a,
and there a some websites with the sub domain sub*.mydomain.com on the server,too.
now,i want to move the websites to another server-b,
after copy all the data,
i want to ask how can i point the all sub domain ip to the new server-b directly on server-b?
thanks
PS. my server is centos with whm/cpanel
-
07-30-2008, 01:26 PM #2Web Hosting Guru
- Join Date
- Dec 2007
- Posts
- 255
go to DNS zone in WHM,there click edit DNS zone,then select ur domain name and edit it,below u can able to add A enter for that specific subdomain
-
07-30-2008, 02:30 PM #3Disabled
- Join Date
- Aug 2002
- Posts
- 308
You can use wildcard. And create A record
Code:* IN A IP.ADD.RE.SS
Code:*.mydomain.com. IN A IP.ADD.RE.SS
And all subdomain will have point to IP.ADD.RE.SS
-
07-30-2008, 08:20 PM #4Web Hosting Evangelist
- Join Date
- Nov 2006
- Posts
- 459
-
07-30-2008, 08:29 PM #5Disabled
- Join Date
- Aug 2002
- Posts
- 308
Zone file
at Linux it's usually
/var/cache/bind/mydomain.com
Ок may you have tool for manipulate zone records in your panel.
It's file for example:
HTML Code:/# cat /var/cache/bind/mydomain.com $TTL 3600 mydomain.com. IN SOA ns1.mydomain.com. root.mydomain.com. (2008072701 10800 3600 604800 86400) mydomain.com. IN NS ns1.mydomain.com. mydomain.com. IN NS ns2.mydomain.com. mydomain.com. IN MX 10 mail mydomain.com. IN A 82.xx.58.216 www IN A 82.xx.58.216 ftp IN A 82.xx.58.216 mail IN A 82.xx.58.216 smtp IN A 82.xx.58.216 pop IN A 82.xx.58.216 mydomain.com. IN TXT "v=spf1 a mx ~all"
-
07-30-2008, 08:34 PM #6Web Hosting Master
- Join Date
- Feb 2006
- Location
- Kusadasi, Turkey
- Posts
- 3,379
Edit the DNS zone via WHM. But instead of putting a single subdomain, use the wildcard * character to point all domains to an IP address.
█ Fraud Record - Stop Fraud Clients, Report Abusive Customers.
█ Combine your efforts to fight misbehaving clients.
█ HarzemDesign - Highest quality, well designed and carefully coded hosting designs. Not cheap though.
█ Large and awesome portfolio, just visit and see!