My domain doesn't work

### Website URL

It turns out that I am creating a domain for a task, and it keeps failing, I already created several domains, created another infinityfree account to test, and also, now it is stuck on the “Domain Active” screen, it doesn’t do anything else, Before, I achieved more things, I have never changed the code, I managed to make it work, but then when I reloaded the page it stopped working, I am very lost right now


image

I have had quite a few attempts, the code works perfectly for me, at least locally, in one of my attempts the domain was uploaded correctly, without problems, but when I reloaded the page I got a 403 error and it stopped working completely, without changing anything, so I am very lost right now, I don’t know if anyone can guide me on what could happen, since now I have not found information that can help me, thanks in advance

Please read

4 Likes

Well now also out of curiosity and discard before they suggest it, then I deleted the cache so that it would be completely reloaded again, and now I get the error “403 Forbidden” and I have no idea how to solve it either.

Yes, I found this post and the information taken there did not help me.

Nothing will help you if you do not read

1 Like

Like I said, I already read that post and it didn’t help me at all.

I even tried to add a more direct connection to my url, that is, “/index.php” or “/Pedidos.html” and it doesn’t work either, I previously had this error, I managed to get it through with the direct url like this, but now it blocks all of them. the pages you have

I checked your account and you seem to have setup a correct website.

However, it’s setup in the wrong location.

When you deleted the domain from the account and added it back, the domain got assigned to the directory al-caribe.wuaze.com/htdocs, instead of the main htdocs folder. And that new directory does not exist, which is why your website doesn’t work.

You should be able to fix this by creating a new directory with the name al-caribe.wuaze.com, and then moving your htdocs directory into it.

3 Likes

My apologies but I don’t understand very well the instructions that come in that post, because English is not the language I speak so it is difficult for me, so I got lost in the part of moving the directory to “htdocs” and eliminating the “al” -caribe.wuaze.com/htdocs"

Create a new folder with name al-caribe.wuaze.com. Then create a htdocs folder inside it. Move all the files from htdocs at the root to al-caribe.wuaze.com/htdocs

3 Likes


The good news is that something has already changed, the bad thing is that it continues to give me an error, the “404 Not Found” error, I will also attach a screenshot of how the files turned out, in the meantime I will try to test some things, but here I leave the update, thank you


the .html file loads. but not the index.php.

3 Likes

It seems that now the one that gives me the error is the index, I have to check because, well now at least I can directly access the other html, but the index.php is the one that does not open even directly, so right now the problem is the index

this is the one that Works https://al-caribe.wuaze.com/Pedidos.html

hahaha I was just writing that same thing

1 Like

what is the contents in index.php? pls remove important credentials (if there)

I think I have no problem with passing the file
index.php (13.0 KB)

It seems that the file had an error, one of my colleagues affected something but I had a backup copy, this file should already work, but now another error appears

This page is not workingThe page al-caribe.wuaze.com cannot process this request now.
HTTP ERROR 500

can you enable show php errors? and then share a screenshot

1 Like

Fatal error: uncaught mysqli_sql_exception: No such file or directory in /home/vol9_6/infinityfree.com/if0_36693363/al-caribe.wuaze.com/htdocs/index.php:2 Stack trace: #0 /home/vol9_6 /infinityfree. com/if0_36693363/al-caribe.wuaze.com/htdocs/index.php(2): mysqli_connect(‘localhost’, ‘root’, Object(SensitiveParameterValue), ‘test’) #1 {main} launched in /home/ vol9_6/infinityfree.com/if0_36693363/al-caribe.wuaze.com/htdocs/index.php on line 2

That was the error I had, for the moment I put the php code part as a comment and with that I uploaded it to test and now the page worked, I suppose that with this my problem is now solved, thank you very much jaikrishna.t and the administration of Infinityfree for taking the time to help me, now I will dedicate myself to testing my domain and other things for my project, thanks again

1 Like

The error you were having can be easily solved by reading this article and especially using all the general tips on your website as well:

If you don’t have a database on your hosting account, this article can help you create one:

Then after you configured it, you might need to import a database backup for the website to work fine with the database you created:

3 Likes