Are you an end user or a server administrator?
If you have access, just simply edit the DNS zone on the server and add
in whatever CNAME records you wish and restart your "named" service.
Code:
# cd /var/named
# vi whateverdomain.com.db
(NOTE: some might use pico instead, I prefer vi)
/\/\/\/ Make whatever zone file changes you wish \/\/\/\/\/
# service named restart
If you want to get fancy, you can edit the zone templates in WHM to add either a wildcard (*) DNS entry
or automatically setup the specific subdomain for every domain on the server on all accounts you create
and then create a new virtualhost with that address as a wildcard (subdomainname.*) for the server name
and then put in a redirect script or mod_rewrite in that new virtualhost. The end result is that every account
on your server will have a special subdomain under it's own domain that automatically redirects.
Back when Cpanel was a little crappier about keeping up with MySQLAdmin updates, we used to setup
our own updated version under
http://mysql.*.* for all accounts using this same technique.
Quote:
However, when I create a second subdomain called 'query.mydomain.com' and again redirect it to the full Google Apps url metioned above, I get the following error when I enter 'query.mydomain.com' as a url:
"Server error.
Sorry, you've reached a login page for a domain that isn't using Google Apps. Please check the web address and try again".
I earlier logged in Google Apps as 'info' and created query@mydomain.com and I've also checked subdomain settings in cPanel ....all seems ok...any ideas. Thanks.
|
Assuming you didn't mess up something on either your Cpanel side or Google side, I would probably first look into
exactly how are you initiating your "redirect" because that could effect the referrer sent to Google which is what
Google uses to identify the source of the directed connection.