carpman
06-07-2001, 06:28 AM
I see there is a facility to park or forward a domain in WHM, what is the proceedure?
Can a domain be parked/forwarded to a specific folder/page ?
What is the default entry, domain.com? I have tried this but keep getting errors.
GordonH
06-07-2001, 11:14 AM
Hello
To forward a domain you need to go to domain forwarding in WHM and set up the domain and the address is is to be forwarded to (beginning with http://)
Then you need to set up a DNS entry for the domain on your name servers and point the A record to the IP you are using for the domain forwarder in WHM.
Then chnage the name servers for the domaint o yours at the registry and that should do it.
Gordon
carpman
06-07-2001, 11:27 AM
Cheers, missed the http:// bit.
What about parking? is there a special page for parking? How do you direct a parked domain to it
GordonH
06-07-2001, 11:31 AM
Under DNS on the left hand menu you will see "park or point a domain"
You use this to parkone domain on top of another.
The domain you park to has to be on the same server.
Gordon
carpman
06-07-2001, 12:37 PM
Yes i got this bit, but is there a specific page that i can customise for the parking page.
Also what if you want to forward a domain to another server? and more specifically a certain page.
I plan to lease out a number of domains, some users will take the hosting option i offer but some will want their own and some will just want forwarding to an existing domain or web space on another machine.
WHM does not seem to offer enough option to be able to do complex forwarding! or can this all be done but altering DNS entries?
Justin S
06-07-2001, 12:50 PM
You're not really "parking" a domain, as a domain registrar does. There's no default page that says something like "under construction." You're really "pointing" a domain to another domain or subdomain. You could create a subdomain under your domain, create an index page that says whatever you want, then park all domains on that subdomain. It would give the effect that you're wanting.
carpman
06-07-2001, 01:49 PM
Tried the sub domain trick but still get the error
Sorry, can't resolve http://parked.domain.net to an ip address Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at whostmgr/bin/whostmgr.pl line 3408.
GordonH
06-07-2001, 05:13 PM
Right
You need to make sure that all the domains you park to the subdomain have proper DNS entries on your name servers.
Then, you need to make sure that your name primary name server is at the top of the list in /etc/resolv.conf
Thats the list of name servers they check the validity of the subdomain on when you do the parking.
If you rely on the ones already on the list you will not be able to do the parking until the domain DNS had propagated. If you put yours on there then it gets round it.
Gordon
carpman
06-08-2001, 11:15 AM
Thanks for that, how do i delete parked / forwarded domains?
I got ot working but now nee to change some of the domains but can't find any where to edit entries.
GordonH
06-08-2001, 11:22 AM
Hello
These have to be edited manually in the httpd.conf file I think.
Gordon