Setting up sub-domain
Hey! I currently have a domain for my website: gameoholic.xyz
I want to set up a subdomain (repositories.gameoholic.xyz)
I've set up 2 records of type A: "www" and "repositories", both have the same IP.
www.gameoholic.xyz works, but repositories.gameoholic.xyz doesn't, how do I fix it?
22 Replies
As the error lists, you likely requested www.repositories.gameoholic.xyz instead of repositories.gameoholic.xyz.
If you want www.repositories.gameoholic.xyz to work, you need to add a record for it as well
DNS over Discord: A records
www.repositories.gameoholic.xyz A @1.1.1.1 +noall +answer
No records founddiggy diggy hole
DNS over Discord: A records
repositories.gameoholic.xyz A @1.1.1.1 +noall +answer
No records founddiggy diggy hole
The problem with adding www.repositories.gameoholic.xyz is that I'd have to pay for Advanced Certificate Manager :/ right?
If you want it proxied, I believe so. Why do you want to use www.repositories.gameoholic.xyz instead of just repositories.gameoholic.xyz?
If I type in
repositories.gameoholic.xyz
it says this, and it seems to include the www automatically?What about in incognito mode?
Same result, except in incognito mode I get this for
gameoholic.xyz
, probably because I just changed itCreate a domain using different methods GitHub Apple etc
What?
It's very weird that it keeps redirecting to www., do you have a page rule or anything like that that might be doing it?
Or a redirect rule
You doing from cell phone or computer
I have no rules
For what it's worth, when I visit https://repositories.gameoholic.xyz I am not redirect to www.
Same with https://gameoholic.xyz/
Do you have a browser extention that could be causing the redirect?
Oh yeah, perfect, that works.
It redirects to www. whenever I type it into the search bar in google
I don't think so
aah okay. Perhaps clearing your browser cache could fix that
I'll try. Is it problematic, that I don't have support for www. ?
No, not really
Alright, thank you SO much for the help.
No worries, glad you got it working 😄
I’ve seen this happen in Safari, where it can be infuriating because it also hides
www.
in the address bar, so it’s really easy to keep seeing subsequent errors because of not noticing that. Maybe the behaviour comes from WebKit which would affect Chrome as well.
I think that when interacting with the domain fails in certain ways, it tries prefixing www.
. I suspect when you use https://
, i.e. explicitly use HTTPS, it disables that behaviour for security reasons.