0

It could be hard for me to describe this, so at first I'll state: my final purpose is to point github pages to my own example.com domain - example.com WITHOUT subfolder/path. Right now I'm learning and testing. The first method: in github's docomentation I see I should create a repository? and my website's url will be "myusername.github.io/myrepository"? But, the second method: I followed a youtube tutorial, when creating repository, I typed "myusername.github.io" instead of "myrepository", and magiclly I got a website "myusername.github.io", WITHOUT subfolder/path. So, is the second method correct? And, in the future, can I point this site(by second method) to a .com domain? I'm new to all this, appreciate any response.

  • Are you trying to point your domain to a GitHub repository using DNS (aka, "using a custom domain name"), or forward your domain? In the latter case, either would appear to be fine. In the case of the former, this guide should help: Using a custom domain with GitHub Pages. – dan Apr 17 at 4:55
  • 1
    @dan Thanks for your help! – user2650501 Apr 17 at 11:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.