Only Seeing "Index of /" after install

Hey!

Basic System Info
Running apache
Ubuntu

Issue
So I have installed Discourse and all but all I see when going to the domain link is:

Is there a step I missed.

Please note Thats its not a Digital Ocean System, but is Ubuntu VPS.

Regards,
FAXES

Edit: Sorry if this has been asked heaps :slight_smile:

1 Like

Are you sure you followed the Official Installation Guide? It says Digital Ocean but any Ubuntu VPS will do.

Also are you using Discourse from Bitnami? The Discourse community can only support the official installation that I linked above (NOT the Bitnami version).

yeah followed that all the way through. Even restarted apache and my VPS. Also did apt-get update

You must have another apache server in your environment that is interfering if you followed the Official Install Guide. The official guide installs a built in nginx server that is ready to use assuming you followed the guide correctly. Is there a custom setup in your environment?

2 Likes

would apache interfere with it? As I do have apache set up for my other sites.

If you have Apache and know how just disable it (for this site only). The Official Install uses a Docker image with nginx (a web server) preloaded and ready to use. All you have to do is visit the site after disabling apache and it should work

Oh Ok. So just taking out

<VirtualHost *:80>	
	ServerName discourse.faxes.zone

	ServerAdmin webmaster@localhost
	DocumentRoot /var/www/faxes/discourse

	#Redirect permanent / https://faxes.zone/
	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

^ should work?

Maybe restart apache after taking that out (sudo service apache2 restart if you are on ubuntu)

1 Like

:thinking:

Just saying that now. Does it need a special DNS record. At the moment its just pointed to the VPS’ IP.

Edit: The DNS Record are okay, according to the docs

If the VPS has an A record pointed properly (per Install Guide) it should work. If you can and it really doesn’t work delete/reset to new the VPS and follow only the steps in the install guide.

Also make sure that ufw and similar programs are either disabled or allow ssh, http and https (if you want https) through from your IP

Yeah, just bought a droplet :smiley: Turns out you can just get discourse like that through it.

Its not recommended to use any 1 click installers (even Digital Ocean ones). Just by searching on this site you can see examples of weird errors and behaviour that doesn’t exist in the Guide’s version. Its ultimately up to you but you often need to pay more (Discourse will work on a 1GB droplet if you follow the Official Install Guide) to make a 1 click installer work.

3 Likes

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