Strange Server Behaviour

Hey everyone,

Need some opinions from the awesome people here at TS.

I have an Ubuntu 16.04 VPS through vultr.com.

I have setup a nextcloud installation on it, and when I got it up and running yesterday, it was fine. I was able to sync files from the nextcloud desktop client on Arch, and the web login worked as well.

But today, when I go to https://.com/nextcloud, it now brings up a '404 not found' page.

The nextcloud directory is still in /var/www/html, where I have set the document root.

I am utterly confused. A test website I have on that VPS is working fine.

Thanks everyone.

That it had been working and now stopped is strange. Does the folder have sufficient permissions so that the webserver (apache/ngnix) can access it?

Ar the files still in the folder?

Can you access a test.html file directly that you put into the nextcloud folder? (e.g. https://.com/nextcloud/test.html) ?

So what have you tried - Is your PHP installation working properly?

Have you tried changing your server config, or changing htaccess rewritebase/rule?

Give: "sudo service apache2 restart" a try may have done an update that needs the service to be restarted.

Thanks for the suggestions everybody.

I copied the nextcloud directory and made a new one, and even without a server restart, it is now working fine. I have no idea what was up with that, but it's fixed now.

Cheers guys.