Regarding the result
Hi,
Looking at this Pull Request (which was already merged), how my website URL should look now?
I can't access it via mzykin.is-a.dev (DNS_PROBE_FINISHED_NXDOMAIN), so I have a suspicion that I didn't provide my CNAME correctly? I can see that I can access mzykin.com.is-a.dev but the browser tells me that the Connection is not private and I can't access the website.
Did I write my CNAME incorrectly? Should I change it to just "mzykin" so that I could access my website via "mzykin.is-a.dev"?
Thank you
I had the same problem since yesterday and this is my solution. give it a go and let know your result.
Clear your browser cache:
Browsers store temporary files and data, which can sometimes cause conflicts leading to automatic redirection. Clearing the cache helps eliminate such conflicts. To do this, follow these steps:
- For Google Chrome: Go to Settings > Privacy and Security > Clear Browsing Data > select "Cached images and files" > Clear Data.
- For Mozilla Firefox: Go to Options > Privacy & Security > Cookies and Site Data > Clear Data.
- For Safari: Go to Safari > Preferences > Privacy > Manage Website Data > Remove All.
Credits: https://www.quora.com/My-personal-website-is-being-redirected-to-another-website-automatically-How-can-I-solve-this-issue
@hansanaD No, it doesn't work for me either so it can't be a cache issue.
@maxzkn On the is-a.dev side, you formatted and entered your records correctly, else I wouldn't have merged your PR. What you'll need to do is go into your DNS provider for mzykin.com and create a CNAME record that points to mzykin.is-a.dev. Then your problem should be fixed.
@hansanaD Thank you for your help, but this indeed isn't an issue in my particular case.
@orxngc Sorry to bother, but I'm having a hard time creating a correct record in my Cloudflare account. I can only create a record where mzykin.com points to mzykin.is-a.dev, but I assume this should the other way around, though I can't set it up. Maybe you had some experience with Cloudflare? Please see screenshots attached below!
I can't register it like this (mzykin.is-a.dev is being prefixed as a subdomain to my apex domain):
Only like this:
And this is the result:
@maxzkn name should be set to @, and target should be set to mzykin.is-a.dev. If you want the is-a.dev domain to be set to a subdomain of mzykin.com, then replace the @ in the name field with whatever you want the subdomain to be; for example, put uwu in the name field and mzykin.is-a.dev in the target field if you want mzykin.is-a.dev to redirect to uwu.mzykin.com.
@orxngc
name should be set to @, and target should be set to mzykin.is-a.dev.
So this is exactly what I did (please look at the second screenshot in my previous comment), but this just doesn't work:
This seems to be an SSL issue.. I forgot how this part works. @CuteDog5695 Do you know what's going on here?
I have a suspicion that it can be related to that my website is not working without www subdomain... seems like I have to somehow configure my apex domain first, so that website would be accessed by mzykin.com (without www.).
Did you even add SSL for the is-a.dev domain? Or are you just trying to connect the domain directly without SSL stuff?
So uh, I was wrong. Your is-a.dev domain is pointing to mzykin.com, while mzykin.com is pointing to your is-a.dev domain which in result will give you no results since they are pointing to eachother. From the screenshots I see that you are hosting your site with Cloudflare Pages. I'd recommend you to connect the is-a.dev domain to the cloudflare page you have, which you can follow the docs here https://developers.cloudflare.com/pages/configuration/custom-domains/ While doing it, if you stumble upon what dns you want to chose go with the non-cloudflare option
@CuteDog5695 Thank you for your answer. So I try to follow your recommendation and register is-a.dev subdomain with my Cloudflare Page (along with already registered mzykin.com) and as you said I stumbled upon the DNS choice, but the only choice I have is to transfer DNS:
While doing it, if you stumble upon what dns you want to chose go with the non-cloudflare option
Once I click on Begin DNS transfer, I can see this view, but I don't really understand with which non-cloudflare option should I go and should I put is-a.dev or mzykin.com to an Existing domain?
Did you first go to your Cloudflare Page -> Settings -> Custom Domains?
Yes, I did:
And you putted your is-a.dev domain? (mzykin.is-a.dev)
Oh sorry, I was adding just the .is-a.dev. Now when I added mzykin.is-a.dev, I clicked on Configure DNS as per your suggestion:
And now I see this view:
But my DNS provider is Cloudflare, as it is my domain registrar. So does it mean that I need to add a CNAME record in my DNS settings in Cloudflare with Name as mzykin and Target as portfolio-website-d84.pages.dev ? I don't think so, because if I type mzykin in the Name field, then the root will be mzykin.mzykin.com. If I type @, then the Name will be the root itself (mzykin.com).
Didn't you want to add your is-a.dev domain? If you wanted for your is-a.dev domain to redirect to your main domain then you could of used redirect.pizza
No, my goal is to add .is-a.dev to mzykin.com (or www.mzykin.com, since I didn't configure my website to work without www subdomain yet) so that the URL would look like mzykin.is-a.dev
Sorry, but what are you trying to do with the is-a.dev domain? I'm a bit lost now
I bought a custom domain in Cloudflare, which is mzykin.com. I deployed my website to Cloudflare Pages and set www as a subdomain which points to my website's original URL:
I now have a website, which I can access as https://www.mzykin.com or https://mzykin.com. I would like to add .is-a.dev as a top-level domain for my website, so that I could access it as mzykin.is-a.dev.
Update to everyone: as the error ERR_SSL_VERSION_OR_CIPHER_MISMATCH indicates, it seems like I need to add a SSL certificate which would cover .is-a.dev subdomain, but it seems like I can't do it with a free Cloudflare plan, because it only protects mzykin.com and *.mzykin.com. So, if you want to cover additional domains with additional certificates, you need to upgrade to Advanced Certificate Manager which costs 10$/month, which I am not willing to do.
Maybe I need to register mzykin.is-a.dev as another Custom Domain in Cloudflare so that Cloudflare will add a free certificate for it and then I would add a DNS record for it to point to mzykin.com? But following this approach, Cloudflare says:
mzykin.is-a.dev is not active on Cloudflare yet. Update the nameservers at your registrar to activate Cloudflare services for this domain.
So I don't think that this sounds right.
Unless I am mistaken and the problem lies somewhere else and not here, I think this thread can be closed now.
thank you for raising this to our attention.