How do I set up a domain name to redirect to another URL and then check referrers from that domain? - redirect

I'm running a print campaign and have bought a specific URL to try and measure the efficacy of that advert.
I'm using cPanel and Google Analytics.
I want people to type in the new, advert specific URL and be redirected to my actual, live domain name and I would like it to show up in Google analytics as a referrer so I can track how many people visit that website address.
I haven't a single idea how to do this properly. i've set it up as an addon domain in cPanel, and have also set it to redirect to my main URL from within cPanel, but at first glance in "real time" and "traffic sources" it just says "direct", but I want it to show this URL.
So to sum up, I want people to type in a URL, it then redirect and for it to show up in analytics as a referrer, by name. Thanks in advance!

I've done it, and here's how I did it:
I set the domain name up as an addon domain on my cpanel account.
Then I created a .htaccess in the root of that subdomain, with the following content:
# Permanent URL redirect
Redirect 301 / http://www.DomainName.co/?utm_source=Domain-Name.co.uk&utm_medium=mediumName&utm_content

Related

Github page redirects to custom domain

I have Github Pages Site setup at doshisid.github.io. But it gets redirected to sid.sh. I have one another domain which points to the same GitHub page and it works fine (doshisid.com). But the default domain provided by GitHub doesn't. I can't figure out how is the default domain getting redirected to a custom domain.
whatever domain you want in there; inside the repo create a new file CNAME and then add the domain name like www.xyz.com .This will solve your problem probably.

How to do the domain acts like another domain?

I want to do that:
http://foo.example.com -> http://customdomain.com
http://bar.example.com -> http://anotherdomain.com
...
It's like Tumblr or Blogger custom domain using. My user's can create a website, these sites serve in my subdomains. However, if user wants to set custom domain for your site, then http://userscustomdomain.com actually will open http://foo.example.com but everyone can see the domain of http://userscustomdomain.com
How can I do that?
Thanks!
Your users should make Cname records that point to your domain, for example
www.usercustomdomain.com CNAME foo.example.com.
When that is set up, you need to make your application listen to the customers hostname.
Cheers!

How to check the 302 redirect domain history?

I was buying a domain and I need to verify the history of the domain in-terms of 302 redirects on the domains. is there any way by which I can check a domains history
There are tools and sites available through which you can check their NS records which can be used before for redirection rules as per their name servers also some paid tools are available to get the entire domain history
Check whoisrequest.com and go to domain history.
Check archive.org if you would like to check what type of site it was
Check research.domaintools.com/research/hosting-history/ to get entire data
hope it helps!

Submit Review Request to Google for Reported Attack Page of a subdomain that i have no ownership

My website is JerryDelRio.com – it's wordpress install looks clean, but it appears that malware exists on all sub-domains in their idxbroker.com search. For example:
http://www.jerrydelrio.idxco.com/idx/14511/mapSearch.php
How can we make google realize that these sub-domains are good to go? Idxbroker.com is a service we use to display property real estate search – I do NOT control that domain and I am sure it is very clean.
Here is a screenshot on how to submit review request to google:
But it ask to upload verification file to jerrydelrio.idxco.com. But i don't control the domain. It is just a service from Idxbroker.com
Please help me on how i can request google to review the Reported Attack page.
Thanks for your time.
You should move this account to a custom subdomain via a CNAME record. Then you can claim in google webmasters tools.

Google Apps: verify domain ownership using CNAME

I understand CNAME is an alias to another record. Since I am using melbourneIT for my domain name, when I set up Google Apps, I need to verify my domain name ownership through CNAME record change.
However when I see page: http://support.google.com/a/bin/answer.py?hl=en&answer=142005#CNAME (please tick "I want to verify using a CNAME record"), I am totally confused at what information to use in order to create the CNAME record for this verification purpose.
Please see below for the information from http://support.google.com/a/bin/answer.py?hl=en&answer=142005#CNAME:
Host Name/Alias Value/Destination
Custom URL: www ghs.google.com
Verification: googlefffggghhh12345 (your unique string) google.com
If my domain name is mydomainname.com, what should I put into my CNAME record (the value for HOSTNAME and POINTS TO, as in my DNS management panel shows)?
It's confusing because it looks like two entries. I think you want to use the second set of criteria for verification. So you'd enter the googlefffggghhh12345 as the alias(or host), and it would point to google.com.
You might want to do both or alternatively do mail as a cname and point it to ghs.google.com. You'll want to do that eventually anyway.
The cname, www pointing to ghs.google.com, is consistent with telling your domain host to check to see if there's a webpage setup in google sites and send people there. If there isn't one, and there isn't a sitemap within apps for one, I think the domain would just return to current hosting.