Skip to content

Website not working with Custom Domain (Namecheap) #61333

Answered by 50bvd
rjachuthan asked this question in Pages
Discussion options

You must be logged in to vote

There are several things that can cause this problem. Here are some steps you can take to try and solve it.

Incorrect path to CSS files: Make sure your CSS file paths are correct. Sometimes, relative paths don't work as expected, especially if you're using Jekyll or another site generator. For example, if your stylesheet is located in a /css folder at the root of your repository, you should use the path /css/style.css instead of css/style.css.

Base URL configuration: If you're using Jekyll, make sure that the base URL in your _config.yml configuration file is correct. For example, if your GitHub repository is username.github.io/repo, then your base URL should be /repo.

Browser cache: Your…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rjachuthan
Comment options

@50bvd
Comment options

Answer selected by rjachuthan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Pages Host a static website, right from your repo
2 participants