Use github pages to host a production website - github

I've been using github pages in order to showcase my progress on a simple website I am building but now I saw the option to assign a DNS name to the repository.
This made me think that I could actually avoid buying a service (hostgator, bluehost etc) and actually host my site in github pages.
What is your recommendation on this? Is github pages used for this kind of purposes?

Yes, Github Page is a great place for you to host a static website. All you need to do is to purchase a domain and configure the DNS. Basically, it is a free hosting service I think you can put it that way.
Here is a tutorial on how to set up your Github Page with a custom domain: https://help.github.com/articles/using-a-custom-domain-with-github-pages/

Related

Custom domain on GitHub Pages not working properly

I purchased a domain on NameCheap, and followed a step-by-step guide to configure it with GitHub Pages (I'm pretty new to all of this).
But my GitHub page is not using the custom domain even after configured
The first step was to configure the 4 A records and the CNAME with my username in github:
After that I went to the repository that has my username and set up GitHub Pages, and then added my custom domain:
So far, everything worked perfectly, he re-deployed and added a CNAME file to the master branch
But when I try to use GitHub Pages in other repositories, it still gets the old domain (username.github.io)
What I really wanted was for this project to be in custom.domain/project-name
Any light on what I'm doing wrong?
I didn't find anything different from what I did looking at the official documentation
**Of course I didn't use these names from the images, I just removed the original name.

Github pages URL keeps redirecting to old, deleted custom domain

i host my jekyll blog on github and used to use a custom apex domain for it and that worked just fine.
Yesterday i wanted to discontinue the domain and go back to the standard .github.io adress, so i deleted the DNS Entrys on Namecheap and the custom domain entry in the github repo settings under "Pages" (also made sure the CNAME file is gone, i even deleted the whole repo and set it up from scratch) but still the .github.io Adress redirects to my old custom domain and shows a 404.
Is there a way to solve this?
I can think of trying to assign a new custom domain, but i dont have one right now and just want to use the standard domain for now.

I am getting a warning for the website deployed via Github pages that uses a custom domain. how do i get around it?

Problem:
I am getting below warning on github pages. However, my custom domain http://www.dilipagheda.com still works.
I am curious why i am getting this warning and do i need to address it? if yes, how?
Error:
The custom domain for your GitHub Pages site is pointed at an outdated IP address. You must update your site's DNS records if you'd like it to be available via your custom domain
I'm not 100% sure why it still works (maybe they're phasing people out to the new addresses?) but here's how to fix it.
Go to your domain registrar, where you have previously set up your DNS records. You need to update your A records to the new ones provided by github. Right now they are:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
After that, you need to delete and re-add your custom domain in the repo settings. I got these IP addresses and instructions here in the github documentation.

How to submit website feedback to GitHub?

I want to make a page on my website containing the information form for the bug they faced while using the website and web application.
Then I want to show those feedback to my private GitHub repository, so that I can keep track of all the bugs and work on fixing them.
Is there any GitHub API for this purpose?
Using the GitHub API (like suggested in the other answer) is a possible solution, but requires you to implement the UI by yourself, call the API with proper authentication etc. etc.
If you want a simpler solution with less work for you, you could point your users directly from your website to your GitHub issue tracker.
Unfortunately, GitHub doesn't support private repositories with public issues. Their official solution for this problem is to
create a second (public) repo and use this just to host the public issues.
If changing your hosting provider is an option for you, you could migrate your project to Bitbucket.
They offer unlimited private repos for free if you have max. five users, and it's possible to have a private repo with a public issue tracker.
Quote from the last link:
Users with administrative rights on a repository can set a Bitbucket
Cloud issue tracker as private or public. When your tracker is
public, anyone can view, create, and comment on issues it contains.
This includes people who land on the website but who do not have a
Bitbucket account. The system asks these users to verify they are
people with a CAPTCHA.
You can set your Bitbucket repository, wiki,
and issue tracker as private or public, independently of each other.
For example, you can hide your code from the world by setting your
repository as private, but let people see your documentation and
issues by marking your wiki and issue tracker as public. Or you could
set your repository and wiki as public but keep your issue tracker
private. You can change any of these settings from private to public,
or public to private, at any time.
GitHub does have an API and one if its end-points is for creating bugs:
https://developer.github.com/v3/issues/
Well, https://github.com/tan-tan-kanarek/github-php-client this worked like a charm for me. In my scenario, I was working in phalcon framework and I used this API to submit issue to a private GitHub repository.
Authentication is pretty simple in this API .

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.