github pages site doesn't work in some browsers - google-chrome

I made github pages site with a custom domain.
It runs in Tor and Safari but I get "This site can’t be reached" message trying to run it in Chrome and some other browsers, what could be wrong?
The repository is public, cache is cleaned.

There was a problem in C:\Windows\System32\drivers\etc\hosts file where my domain name was pointed to localhost
the file was changed probably probably due to my attempts to host the site on a laptop

Related

npm http-server downloads index.html instead of serving

I am using http-server with ssl certificate in order to test facebook instant games. However, while server is running localhost makes my browser download index.html file instead of actually serving it in a browser. The problem occures in chrome, but microsoft edge seems to be fine.
Use this URL http://127.0.0.1:8080/
instead of localhost:8080
I found out this problem only occurs in Chrome, edge seemed to work fine, so I decided to clear browsing data in the chrome settings and tried again and surprisingly it doesn't download index.html from localhost:8080 anymore! This method solved my issue.

Jekyll + gh-pages + GoDaddy blog doesn't seem to load properly on Macs

I've recently created a blog using Jekyll and Github Pages and bought a custom domain from GoDaddy. While it seems to work fine on my windows laptop, my phone, and my friend's computers, most of the times that I try to load it on my MacBook Pro it goes to one of the following pages:
Custom GoDaddy page with ads.
What seems to be a GoDaddy page with message: "website coming soon! Please check back soon to see if the site is available."
Github Pages message: "404: File not found The site configured at this address does not contain the requested file.If this is your site, make sure that the filename case matches the URL. For root URLs (like http://example.com/) you must provide an index.html file."
I also noticed that sometimes the page fails to open and redirects to the url with a /xxxx/ in the end like http://page.com/KQMRn/.
In case it helps, the page is joelcponte.com and the GitHub repository is GitHub.com/joelcponte/blog.
Your DNS configuration seems to be wrong :
dig joelcponte.com
;; ANSWER SECTION:
joelcponte.com. 238 IN A 184.168.221.38
joelcponte.com. 238 IN A 192.30.252.153
joelcponte.com. 238 IN A 192.30.252.154
You must remove the first DNS (184.168.221.38) which is a GoDaddy IP.

Website not opening on some browser

I've a website www.makibs.com
It is an addon website on shared host with another website i.e 2 domain name on same hosting.
I'm using cpanel and added this domain and uploaded all website data into root directory/makibs.com folder.
Now when I try to load website it sometime loads on both chrome and firefox especially in incognito mode but sometime it wouldn't load and on mobile it load when entering prefix www without it its not loading on mobile also.
How can I fixed it?
anyhelp would be appreciated.
The issue seems to be like Addon domain. When you are adding add on domain on your shared hosting you must have to specify www or not while adding add on domain name.
If you have write www up front in domain name then it will not run without www in mobile phones. The domain is working in chrome and mozila because desktop browsers fetch www automatically..
Thanks

ExtensionInstallSources in Chrome extensions for Enterprise policy

We have google chrome extension that needs to be used inside our organization. We have domains there.
Based on enterprise options the easiest approach for us is to host it on some internal web server, and then add address of that internal site as ExtensionInstallSources option to users PC via Group policies, but this does't work for me.
I've tried both registry and local Group Policy changes by adding Google Chrome adm\admx files.
Here is my registry change:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallSources]
"1"="http://localhost/*"
When i'm checking chrome://policy - it displays that it loaded this settings. But when i open http://localhost/myextension.crx - Chrome still displays an error that extension can't be installed from there...
I'm using 47.0.2526.106 m (64-bit) under Windows 8.1 Enterprise (x64)
What i'm doing wrong here?
I have more complicated option to download chrome source\pdbs, and then try to debug it to get understanding why it's not working but it may take a lot of time, as Chrome can compile for a couple of hours on Windows at first build....
So apparently this registry change just wasn't enough. After debugging chrome source i found why it doesn't work for me. I missed:
The referer MUST be present and it also should be whitelisted. So if i open url for my extension by direct link, then as referer is missing - it won't install it. (Oh Chrome, at least you could say with message about it...). If i have web page that has link to that extension, and it's also whitelisted, then it will work fine.
Second missed point was that extension id MUST be present in ExtensionInstallWhitelist, otherwise Chrome will install it and with 2-3 seconds delay will disable it. But if you have listed it under ExtensionInstallWhitelist, then it will be fine.
So my final registry change for localhost is:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallSources]
"1"="http://localhost/*"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallWhitelist]
"1"="fhojekmcngnmkdbcoegjdlojgfngkpak"
I found it after long debugging in ExtensionManagement class - https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/extensions/extension_management.cc&q=ExtensionManagement::IsOffstoreInstallAllowed&sq=package:chromium&type=cs&l=148

How to create a hyperlink to shared network directory or file?

I've checked the following two related discussions:
1. How do I make a hyperlink to a local executable?
2. An URL to a Windows shared folder
3. File Url Cross Domain Issue in Chrome- Unexpected
4. Firefox Links to local or network pages do not work
The following links work when I visited the website on localhost. That is, http://localhost.
A Shared Network Directory
A Shared Network Directory
A Shared Network Directory
But when I visited with http://172.21.1.123, all of above links have no response.
The debug console shows that Not allowed to load local resource: file://172.21.1.123/DIR.
Test Environment (Both of them have the same result.):
- Chrome 28.0.1500
- IE 10
If it is due to the security reason, any configuration to turn off? Or any idea?
The reason that you cannot link to a network share from an external/hosted/live site is because of security features of latest browsers like Firefox.
You can only open local network shares from a local HTML document.
The only way around this is to install a plugin for your browser that removes or disables this security feature as far as I know.