Hello all!!!
i was just getting lot of queries regarding setup of GApps with external web host. So basically using GApps for email hosting and using a separate web host for Web hosting.
regarding differences in both i had given here
1st way is quite easy, it just need you to put Google’s mx records at web hosting control panel
But you will need #2 in case of following things:
So here’s the info on #2
here i am giving some DNS related steps and tricks to do that.
Now here you may choose your registrar’s dns hosting (if available) or else you can go with an external free dns host (remember free DNS hosts are highly reliable)
you may go with:
Incase you need something with gurantee, you can try out Googleing for “paid external dns”
Now here start creating GApps records….as
and incase you plan to use servers others then (but including) Google’s then use this wizard to generate custom SPF for your domain.
to configure web hosting, you need to point root zone (i.e domain.com) and also subzones to web hosting server’s ip using “A record”
Now here exists two possibilities:
in 1st case ignore next section and scroll down and further instructions.
here’s what to do in 2nd case to get ip of hosting server.
Here’s the idea is just to query nameservers given by web host for “A records” of your domain.
proceed as:
here’s a preview
(click on image to enlarge)
you can also use dig command if you are on Linux, use it as
dig your-domain.com@ns1.your-web-host-server.com a
Thus you will notice output as
[anurag@root ~]$ dig harisri.in@ns1.anuragbhatia.com a
; <<>> DiG 9.2.4 <<>> harisri.in@ns1.anuragbhatia.com a
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 398
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;harisri.in@ns1.anuragbhatia.com. IN A
;; ANSWER SECTION:
harisri.in@ns1.anuragbhatia.com. 60 IN A 72.9.152.48
;; Query time: 253 msec
;; SERVER: 69.56.247.250#53(69.56.247.250)
;; WHEN: Mon Sep 29 16:23:41 2008
;; MSG SIZE rcvd: 65
[anurag@root ~]$
Now after getting ip of web hosting server just create the following records:
This will enable web hosting on domain.com as well as all subdomains (including www.domain.com)
Now just change the nameservers of your domain. Point your domain to nameservers of the dns host you are using.
And done!!!
[ratings]