Getting a ERR_NAME_NOT_RESOLVED on my website

Website URL

https://www.gr8brik.rf.gd/

Error Message

ERR_NAME_NOT_RESOLVED

Other Information

I get “ERR_NAME_NOT_RESOLVED” in Chrome devtools everytime I try goto my website. It also happens when trying to load any subdomains.

looks like its working now (kind of)

Remember it can take up to 72 hours for DNS propergation, so it might take a little while for your site to be visible if you’ve only receently set it up :slight_smile:

For the “Kind of” above, I can see an error 500 when I go to your site “500 Error, please check your php script / enable display_errors in your cpanel”

This link will help you get the real error, and help fix it. If you need help fixing the error itself, you can post here again with the error message

5 Likes

EDIT: it seems to be fixed. 401 had a semicolon at the end.

I’ve had my account for a year now I believe, the current domain/site has been around for almost a year. Also using a VPN I can go to my website with he same error. I assume I set up something wrong in my htaccess today, although while this was happening I was updating a PHP script, not the htaccess file.

Disabling my htaccess works. I’ll go though it and see what’s wrong. In the meantime, here’s the contents of it:

php_value display_errors On
php_value mbstring.http_input auto
php_value date.timezone America/New_York
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*.php$ %{REQUEST_FILENAME}.php [QSA,L]
ErrorDocument 400 "<h2>Bad request recived.</h2>"
ErrorDocument 401 "<h2>You're not authorized to access this file or folder.</h2>"
ErrorDocument 403 "<h2>You can't access this file or folder.</h2>"
ErrorDocument 404 "<h2>Page not found.</h2>"
ErrorDocument 503 "<h2>Gr8brik will be back later.</h2>"
RewriteRule ^@([a-zA-Z0-9+/=_.%&()-]+)$ /old_profile3.php?user=$1 [QSA,L]
RewriteRule ^user/([a-zA-Z0-9+/=_.%&()-]+)$ /profile.php?user=$1 [QSA,L]
RewriteRule ^build/([a-zA-Z0-9+/=_.%&()-]+)$ /creation.php?id=$1 [QSA,L]
RewriteRule ^topic/([a-zA-Z0-9+/=_.%&()-]+)$ /com/view.php?id=$1 [QSA,L]
Redirect 301 /manifest.json https://susstevedev.github.io/gr8brik/manifest.json
Redirect 503 /

ah right I see. My apologies, I thought it was a new domain from the error.

Looking at your htaccess file, the only possible error I can see is that your “ErrorDocument 401” ends with a semi colon. I might be wrong, but I don’t think thats ment to be there… Not sure if that would cause the error you were experiencing though as “ERR_NAME_NOT_RESOLVED” is usually related to DNS settings\propergation…

–edit–
I’ve just seen your edit after I posted haha. Glad it fixed

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.