GitHub pages repository linked to a custom domain, but the content is not rendering - rendering

I've deployed my web site to GitHub pages and it worked perfectly with the GitHub URL. Then I configured my custom domain from Godaddy to my repository and I believe it's properly configured because when I go to my custom domain in the browser the title appears in the browser tab, however no content is being rendered on the screen. It's a blank page. Any guesses on what the problem could be is much appreciated. The domain name is "connorjaksik.com"

Originally I didn't set up the DNS records properly on "GoDaddy".
I didn't add a CNAME with a value of my GitHub account username.
After that I noticed the domain was reaching my repository on github, but not rendering the content.
I had to change the repositories package.json "homepage" setting from the default, to my custom domain.

The source HTML code for your blank page shows "http://parked-content.godaddy.com/park/...", which means the redirection is not happening and Godaddy provides a placeholder page in the meantime.
Check your DNS provider settings, as explained here: it needs to allow "Naked" CName records in order to redirect your GitHub pages to a all domain name.

Related

Vue.js app hosted on githubpages not working with custom domain

So i have a Vue.Js bassed app, on localhost it works great. When i host it on github-pages without custom domain it works aswell, but when i change custom domain it shows 404 error :
I've checked dns via https://dnschecker.org both A Records and CNAME gets resolved.
Github pages also resolves my dns:
As mentioned in this so i've created a 404.html file in public folder.
Repo link : Github
Domain : https://www.amberkrynica.pl
It seems that not all DNS servers can resolve your nameservers. https://dnschecker.org/#NS/www.amberpokoje.pl
My guess is that this may be a problem with your registrars DNS changes not getting picked up by big DNS providers.
If the domain is new, the new nameservers may take some time to pop-up everywhere.
If it's not a new domain, try to contact your provider to check with them if everything is working.

Gitlab pages not serving page under new domain

I have followed Setting up GitLab Pages with CloudFlare Certificates, and everything seems to be as expected. I can see the following in my gitlab pages:
But when I open https://ethprobe.com, I cant see the page. I can see the page under https://amarsh.hk.gitlab.io/ethprobe (which mans, it is being served correctly). Any clue on what couldl be wrong?
My cloudfare DNS entries look like:

How can I resolve SSL Mixed Content issue caused by Gravatar?

Gravatar is causing mixed content issue especially when a user is logged in. For logged out users, there is no issue. My site loses the green Security (SSL) padlock on the browser. For all the pages which logged in Users visit, there is Mixed content. The message on display by Chrome/Firefox usually
that the page was loaded over HTTPS, but requested an insecure image 'http://gravatar.com/avatar/b87daeb6292d165f7bd8db0dbb2e0a8b?s=400&d=identicon'. This content should also be served over HTTPS.
Is there any way to resolve this pls?
This does not happen with my blog. Check out the attached image for more information.
Yes, I faced this error two month back but I resolved it using cloudflare. I made the following two changes to load all the resources including image on https.
In Crypto Page of Cloudflare, changed the setting to always HTTPS and Automatic Redirect.
Made similar change in Cloudflare plugin active in WordPress.
You will find the detailed step by step tutorial on acheving this at below article
How to Fixed Mixed Content Error in WordPress?

Pointing GoDaddy DNS to GitHub page uses http over https

I have my DNS settings as shown in the image
DNS Setting along with an additional CNAME with host www and value as my GitHub page. Next I setup a CNAME entry in my GitHub page with an apex entry to my domain. The issue I face is that whenever I visit my domain with an https protocol, it shows a warning that the connection is not secure. I get the following in Chrome:
NET::ERR_CERT_COMMON_NAME_INVALID
How do I fix this? I have both https and http access for my domain.
UPDATE: Github introduced custom domain support for HTTPS on May 1, 2018.
If you are using GoDaddy and want to upgrade to HTTPS, do the following:
Go to DNS settings for your site in your GoDaddy account.
Remove all existing A records.
Open a terminal and do dig +noall +answer <YOUR-USERNAME>.github.io. You should see a table listing 4 slightly different IP addresses:
On GoDaddy, create 4 new A records, each one pointing to one of the IPs. For host use # and set the TTL to a low user-defined value (if you are in a hurry).
Go to your page repository settings on Github, and clear the custom domain name and save. Wait a while (minutes).
When executing dig +noall +answer <YOUR-CUSTOM-DOMAIN> yields the 4 IP addresses that you entered in the A records, go back to the Github repository settings and re-enter and save your custom domain name (which you just cleared) in the custom domain cell.
Optionally, check the box Enforce HTTPS. But make sure that https://<YOUR-DOMAIN>is responsive first.
Make sure you have a CNAME record in your DNS settings also. Host should be www and it should point to your <YOUR-USERNAME>.github.io.
Make sure there is a file in your website repository named CNAME containing the name of your custom domain (in my case ulfaslak.com).
Reference
EDIT: Please see answer below by Arturo Herrero: https://stackoverflow.com/a/50203412/462015
GitHub pages does not support HTTPS for custom domains.
The only work around for doing so is to use an SSL provider as the middle man, such as Cloudflare. However, this would involve pointing your DNS name servers at Cloudflare's, which takes some time and complicates things.
If you want HTTPS support using GitHub pages you'll have to use GitHub's provided URL instead of your custom domain.
Another great option for static sites if you want custom domain name HTTPS is Amazon Web Services. You could set up an S3 bucket for your static website, configure CloudFront to distribute the static content, point your domain name at the CloudFront distribution, and use a free SSL certificate from Amazon's cert manager. This option comes out to less than $1/Month with a low-traffic website. A great in depth tutorial for that would be here.
I hope this answered your question! GitHub pages is a great hosting option, and it's not the end of the world if you decide to forget about HTTPS.
Custom domains on GitHub Pages gain support for HTTPS since May 01, 2018
https://blog.github.com/2018-05-01-github-pages-custom-domains-https/

I purchased ssl from godaddy but domain url redirection have issue

i dont know whats wrong with my settings .i am using opencart 2.3.0.2 .Enabled ssl from settings of my cms.
when i run
https:sharishari.com
it works fine.
i want when i or any one enter my domain name sharishari.com it should redirect to https:sharishari.com
each time i have to write complete url with https to go on https.
and second thing its view is non responsive and non functional when i write
sharishari+ctrl Enter .
here is my
root config file
i removed www from the domain
and admin
config file
https://codeshare.io/2pAlLV
i just shared the above part .db part excluded in sharing
Please i will be very thankful if somebody sort out my problem.best regards
After enabling SSL from your open cart backed, first of all, you will have to update your config files for both catalog and admin. You will have to edit link as "https".
Apart from that, you will have to edit your links provided on header.tpl. Just find and replace all 'http' to 'https'. You can find header.tpl at catalog/view/theme/themename/common/header.tpl
Hope that helps.
You need to change in both
config.php
admin/config.php
to https:
also go to your catalog/view/thene/YOURTHEME/common/header.tpl
And their all of your scripts, css files and so forth to https
And easy way to find them do a ctrl+f search on http and you will find the,
If you have any custom code like social media links, you need to change them to https aswell.
OK you need to redirect to HTTPS (opencart does not do this when enabling SSL) and you need to edit your theme header file, see Innervisions comment
Opencart only switches to SSL on checkout, account, login, etc pages.