After clicking this I was greeted with a note: "You must sign up for Google Apps to register this domain or prove that you already own it." Great, so now I had to sign up for Google Apps. (As a side note, at the time this seemed an unnecessary, annoying wrinkle to add my App, but I now realize the integration with GMail, Calendar, Docs, etc. is fantastic.)
So here is my ish: prove that you already own it.
Yesterday morning, I spent several hours trying to verify ownership of bossylobster.com (which I had purchased a week prior). While I realize the DNS propagation process takes some time, I didn't want to try one method, wait 24 hours and then realize at that point it hadn't worked.
So, Google Apps gives four options on how to verify:
- Create a TXT record
- Upload an HTML file to a specific path on your site
- Add a <meta> tag to your home page
- Verify using your Google Analytics tracking code
Well, since I hadn't set my website up, the last three options were off limits to me (or so I thought). I had a bare minimum package from 1&1, so hosting was pretty much off limits. Apparently I picked one of the inept domain hosts because they don't support creation of a CNAME TXT record!! A quick Google search reveals "Yes, we do understand what an SPF record is. Unfortunately we do not support in on our hosting plans. We apologize for any inconvenience."
So here I am back to square one, just trying to prove I own something, an inherently basic task made incredibly frustrating. Hopefully I can help people avoid some frustration with the following instructions.
1. Open terminal and change into the directory with code for bossylobster (your site).
2. Create a Django project in that directory via the command
sudo django-admin.py startproject bossylobster_django.
(If you don't have Django or you are using Windows, read these install instructions, but DON'T SET UP A DATABASE, not necessary here. For a more detailed tutorial see this page. Also note, startproject is the function name in the django-admin module and bossylobster_django can be replaced with your project name.)
4. Change the file bossylobster_django/urls.py to:
from django.conf.urls.defaults import patterns from django.conf.urls.defaults import url urlpatterns = patterns('', url(r'^$', 'bossylobster_django.views.index', name='home'), )5. Change the file bossylobster_django/views.py to:
from django.http import HttpResponse def index(request): content = '\n'.join(['<html>', ' <head>', ' <meta name="google-site-verification" content="XXXX" />', ' </head>', ' <body>', ' Hello world!', ' </body>', ' </html>']) return HttpResponse(content)where XXXX should be replaced by the content value provided by Google.
6a. Determine your internal IP address for use in step 7
6b. Determine your router's (external) IP address for use in step 8
7. Set up a port forwarding rule in your router for port 80 (websites) with the IP address you found in 6a
8. (After logging in to 1&1) change IP for bossylobster.com to point to your router (from 6b)
9. From the bossylobster_django directory (or whatever you called it), run the server via
sudo python manage.py runserver 192.168.XX.YY:80
where 192.168.XX.YY is the IP you found in 6b.
10. Check to see if your change has propagated to DNS servers worldwide (wait until it has)
11. Upon propagation, login to Google Apps and verify via the meta tag
No comments:
New comments are not allowed.