User.gitlab.io being served at user.gitlab.io/user.gitlab.io

As per https://docs.gitlab.com/ee/user/project/pages/getting_started_part_one.html#user-and-group-website-examples:

Under your username, john, you created a project called john.gitlab.io. Your project URL is https://gitlab.com/john/john.gitlab.io. After you enabled GitLab Pages for your project, your website is published under https://john.gitlab.io

This used to work fine for me. However, recently I saw that my personal website is no longer being deployed to matheustavares.gitab.io, but to matheustavares.gitlab.io/matheustavares.gitlab.io

Any ideas why or how to fix this?

2 Likes

I WAS VERY CONFUSED BECAUSE I THOUGHT MY WEBSITE WAS DOWN

my normal link
https://ratchet302.gitlab.io/

WHAT THE HELL IS THIS??
https://ratchet302.gitlab.io/ratchet302.gitlab.io/

3 Likes

Same thing is happening to me too. After I set up KTrain5169/ktrain5169.gitlab.io and disabling the use unique domain option, my site is served at ktrain5169.gitlab.io/ktrain5169.gitlab.io, which messes with the CSS styling. Fortunately the relative links aren’t broken…

1 Like

Hi!

Thanks for posting!
I’m experiencing the same issue with my personal page.

Please, please, be so kind as to share the solution once you have it.

Best,
J

Unfortunately I didn’t find a solution yet :frowning: I wonder if this is some intentional change gitlab made recently. But couldn’t find any info on it, and the docs still say otherwise, so doesn’t look plausible…

I face the same problem. The original url is fine, but today when I check my website, the url turn into username.gitlab.io/username.gitlab.io, and the style is wrong. BTW, if i check use unique domain settings, random code generated, but the style and subpage redirect are all fine.

is it like, taking your username and slapping it into a template when making the new link? should i just rename the whole project to something generic like “website”? would it end up looking like ratchet302.gitlab.io/website instead?

why isnt there any info on what this “access page” is on the settings page and how to edit it? like at least let me rename it directly, this user interface is blah


ps: i even wanted to try making a new test repository but they changed everything and im having so many random problems, this is painful, this is getting too overly complicated for me, i dont want to start all over again :\

im too lazy to deal with this rn xD


pss: for the love of god can we get some error messages and a more user friendly UI to setup pages with drop down menus with pre-made templates that work in one click? why is every setting related to pages spread out so randomly?

there are too many steps where it asks me to type some random stuff manually, but like i dont even know what im supposed to type, and the documentation is too hard for me to read, im too stupid for it, its like looking for a needle in a haystack for me

somehow i broke the whole thing when i made a new test repository and there’s no way to fix it on my end, just set the default docker build to Ruby or something, i tried to type it manually into the config file and now the pipelines are broken and nothing works anymore for me

i can still update my existing website but i cant do anything with this new repository (maybe its because ur not allowed to have two websites or something so it auto fails? IF YES WHY DOESNT IT TELL U AAAAH)

;_;

image: ruby:3.1

pages:
  stage: deploy

  ## Don't Compress Images, Don't Compress Audio, Don't Compress Video, Avoid Any Binary Data
  ## Paste the Command in the "Explain Shell" Website for More Details
  ## Files It Looks For: HTML, CSS, JS, SVG
  script:
  - echo 'Deploying Website'
  - echo 'Applying Compression'
  - find public \( -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.svg' \) -print0 | xargs -0 gzip -6 -kv

  artifacts:
    paths:
    - public

  only: 
  - master

crying

There has been a similar issue earlier this year, but this time changing the project name doesn’t seem to help.

Thanks @Mobbstar . Looks like they are working on a fix!!

thank god its not on purpose xD