I'm having an absolute nightmare trying to setup a custom TLD domain with github pages.
For some reason http://www is redirecting to http:// and then back to http://www over and over in an infinite redirect loop.
My settings with 123-reg are:
DNS ENTRY TYPE TARGET/DESTINATION
# A 204.232.175.78
www CNAME scottyv.me.
And i have a CNAME file setup correctly in my repo.
Can someone please tell me what i'm doing wrong?
Not sure if you have solved this yet, but I had a similar problem with redirects and 123-reg. I think what you are missing is another 'www' DNS Entry that points to the IP Address defined for DNS Entry '#'.
I wrote a quick blog post on it, with some images
Hope this helps.
I had a similar problem. In my case, my DNS was correct (Network Solutions), but I had left out the "www" in my CNAME file. I had "yoursite.com" instead of "www.yoursite.com". Once I added the "www", the infinite redirects were fixed.
This is my third Github Pages site I'm setting up and I honestly think you just need to give it some time for their configuration to properly update. It may seem like doing additional configuration helps, but in reality, it's simply that time has elapsed. It can take several hours!
For instance, my CNAME file doesn't have a www and it works just fine!
Related
i have this problem where i have a subdomain sub.host.com and a new domain www.new.com. I want to redirect www.new.com to sub.host.com without showing the browser that the url had changed. The content is in sub.host.com but i want that even after the page has fully loaded, it is still showing www.new.com
This means also that when i go to sub.host.com/function, it should also appear as www.new.com/function
The reason is the actual subdomain looks ugly and contains numerics. Is this possible to do? Ive tried searching but all that comes up are only about how to go about creating cname records and none about keeping it intact after redirecting. Thanks
A (reverse proxy) server like Nginx, which is very light-weight, features the url-rewrite rules that you need. IIS7 has also a good url-rewrite engine.
I'm currently trying to get my github pages site up and running.
I actually went through with the process about a month ago without a hitch.
I left it alone between now and then, but when I went to start messing with it again today, I found that the site wasn't publishing for some reason. I just get a "server DNS address could not be found" when I try to navigate to it.
I tried deleting the repo and recreating it, but that doesn't seem to work.
And of course, I've insured that the repo name matches my username (case-sensitive).
Additionally, I contacted Github support and they said that they could load the page just fine.
Here's the link if anyone would like to try it themselves.
EDIT: This is a "User" Page as opposed to a "Project" Page, so it shouldn't require a CNAME configuration.
Any ideas?
It looks like everything is working now. If you are still experiencing issues, please clarify a bit what it is you want to achieve.
In case you want to set up the site with a custom URL, you need to add a CNAME file to the repository. See the instructions here: https://help.github.com/articles/setting-up-your-pages-site-repository/
I was really hoping someone may be able to help me.
My goal is to have all 3 of the URL samples below redirect to the same place, specifically to http://deals.domain.com/index.html?parameter=variable
Notes:
(1) 'deals' is a CNAME within domain.com for another.domain.com
(2) 'deals' is a subdomain within domain.com which has a URL redirection set up to point to the goal URL above.
So far...
www.domain.com --- this is redirecting fine
domain.com --- this is redirecting fine
deals.domain.com --- this one does not appear to be redirecting. When you type it in, it remains in the address bar and does not seem to take into account the variables after the ? in the goal URL (even though ultimately they are not shown in the address bar, but they do lead to a difference in Web content being shown). It is however showing the basic content of another.domain.com
Maybe it is not wise to have the same thing 'deal' be both a CNAME as well as s subdomain; however, the CNAME is absolutely necessary so not sure how to get around this?
Within my ISP, I have set up the Zone records in the Domain section; but not sure I really understand because I can definitely see the CNAME record sitting there, yet it still let me set up a subdomain in the hosting section in a folder which I specified, I thought it wouldn't allow that.
Grateful for any and all advice.
Kind regards,
Mike
I have a custom domain name (www.example.com) pointing to my github user page (user.github.com). Is it possible to have a second custom domain name like www.newdomain.com pointing to a project page of the same github account (user.github.com/project)?
I was able to correctly set up the CNAME in the gh-page branch of user.github.com/project, but I seem not able to correctly set up the DNS on my domain name provider (he seems not to like the subfolder /project).
Thanks a lot for all the help you can provide me!
Actually I solved the issue...
I had to point the DNS only to my main github user name. The CNAME in the gh-page branch of user.github.com/project took care of the rest and now www.newdomain.com correctly points to user.github.com/project while www.example.com points to (user.github.com
i follow this link :https://help.github.com/articles/setting-up-a-custom-domain-with-pages to set up my custom domain(my domain is vikingmute.com)
1.set up CNAME file, here:https://github.com/vikingmute/vikingmute.github.com/blob/master/CNAME
2.change the domain A record: i have already change it, you can dig vikingmute.com +nostats +nocomments +nocmd to check it out
but now my domain redirect to http://vikingmute.com/cgi-sys/defaultwebpage.cgi
Can anybody tell me where is the problem?
Thx a lot~
Looks like it is working now. Sounds like it was a DNS Caching issue.