I can't get to my website all of the sudden!

Help me please! I went to go work on the forums page for my website http://commandercraft.com and I went to go save some changes and refresh when im greeted by this lovely message.

This page isn’t working
commandercraft.com sent an invalid response.
ERR_INVALID_REDIRECT

So im using the normal online file manager for this and making it in JS, HTML, CSS, PHP, and MySQL like usual. I am 100% sure my domain is going to the name servers because I checked like 20 times.I tried moving off chrome to edge and I just get Hmmm…can’t reach this page. I also think it could be redirecting to some page but I did not specify any domain redirects I only chose to do the page error things like 404 to go back to the main page. Could someone please help me figure out whats wrong!

I checked your site url redirect and i noticed that:

http://commandercraft.com/
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently
http://
301 Moved Permanently

only the http:// Isn’t a real domain, That’s why you receive that error.
The problem can be due corrupted htaccess file or some of your codes are redirecting.

3 Likes

So, I made it so that the redirect just takes you to google. It still didn’t fix it. I did check the htaccess file and this is it:

redirectMatch 301 ^(.*)$ http://google.com
ErrorDocument 400 http://commandercraft.com
ErrorDocument 401 http://commandercraft.com
ErrorDocument 403 http://commandercraft.com
ErrorDocument 404 http://commandercraft.com
ErrorDocument 503 http://commandercraft.com
php_value display_errors On
php_flag magic_quotes 1
php_flag magic_quotes_gpc 1
php_value mbstring.http_input auto
php_value date.timezone America/New_York

I don’t think anything was wrong with it. I also tried removing the redirects from my PHP code because I did have some. I removed them but still can’t get in! Anyone know how I could fix this?

redirect on Google works fine :slight_smile:


unrelated to redirect…
since you use Cloudflare - pay attention to its settings
for example :
when you make changes to your website and the website is not behaving as planned or not showing a new status
you need to go to CF and do “purge cache

also do it in your browser

1 Like

Alright, I turned on Cloudflare, changed my name servers, and pressed purge cache. Well im at least getting a different error! This time it says DNS_PROBE_FINISHED_NXDOMAIN. I also at first changed my name servers to the default Cloudflare ones, I got this other error and it said to change them to these ns1.byet.org ones to make it work. This is my first time ever hosting a website too so I don’t exactly know everything yet either. Can I get some help here?

You have to set the nameservers to InfinityFree servers. What other changes have you done? (With Cloudflare, quite easy to break something) Also, you just need to purge the cache.

So, I set the name servers back and did the purge cache and now what do you know… Another error! DNS_PROBE_FINISHED_NXDOMAIN. So, whats this one about! I also don’t think I made any other changes!

You tried getting a new IP address (reset your router)? Purged DNS cache for your computer? Also your redirect works properly.

1 Like