404 error in custom domain

Problem description:
khi truy cập qua CNAME nó hoạt động bình thường nhưng khi truy cập qua miền tùy chỉnh, tôi nhận được: “Run this Repl to see the results here.”

Web của tôi là: http://vngcooper.com/
Hiện tại là 11:35 05/04/2023 (GTM+7:00) và nó vẫn đang bị lỗi

lỗi này hay đột nhiên bị trong khoảng 1 tiếng và tự hết lỗi!
điều này gây ảnh hưởng tới SEO của trang web tôi!

liên hệ lại với tôi qua email: support@damvanbang.site

Expected behavior:

Actual behavior:

Steps to reproduce:

Bug appears at this link:

Browser/OS/Device:

Google translation of the message for those who don’t speak Vietnamese:
when accessing via CNAME it works properly but when accessing via custom domain I get:
“Run this Repl to see the results here.”
My web is: http://vngcooper.com/
It’s currently 11:35 April 5, 2023 (GTM+7:00) and it’s still crashing
this error or suddenly for about 1 hour and the error goes away on its own!
this affects my website’s SEO!
get back to me via email:
support@damvanbang.site

@Yang-Yi-Shen we need your assistance.

2 Likes

When accessing through CNAME, it works fine, but when accessing through a custom domain, I receive the message “Run this Repl to see the results here.”

My website is http://vngcooper.com/ The current time is 11:35 05/04/2023 (GMT+7:00) and it is still experiencing the error.

This error occurs suddenly and usually resolves itself within an hour. This is affecting the SEO of my website.

Please contact me via email at support@damvanbang.site.

I have never connected a custom domain to my Repl so idk how to solve this. :frowning:

2 Likes

although the error is not fixed but Thank you for trying to help me

Can we have a link to the repl that is connected to that site please?

Yes, 72b9db0b-4679-4b1a-ac2f-a964dc277fb4.id.repl.co
here is its CNAME. currently on this link, it’s still working properly

You have both a CNAME and TXT record on the main site correct?
Also please provide a link to where your repl is on replit. (Should look like https://replit.com/@Username/Replname)

i used ip address instead of cname. i have filled in the entire txt record and ip address correctly

however I use hacker replit and am not willing to share its source code

The IP address of repls changes quite often, and as such a CNAME link to the repl’s IP will not work, as at the very least it will not work consistently. I recommend you relink your custom domain and follow the instructions to the T so that way you can ensure it links properly.

1 Like

I find using CNAME less error prone than using ip address: 34.132.134.162

I’m not sure I understand what you mean. Please try un-linking and re-linking your custom domain to your repl and see if that fixes it.

i tried and it didn’t fix

it’s been buggy for almost 2 hours. this makes me very worried

Did you remove the CNAME and TXT records from your site before trying the un-link and re-link? if not, try that.

I use ip address instead of CNAME

This should not be done as repl IP address change frequently, and as such cannot be guaranteed to work.

Thanks for the reminder. so I use CNAME instead of ip address right

Re-checking the Domain linking thing (Which I have not done in a while), It does appear there is an option for IP (A record) linking. However the IP should not be in a CNAME record (Which I thought you said earlier).