By kyky
I installed discource, using this tutorial. It worked great but now when I go to www.example.com, it automatically redirects to my forum.example.com subdomain. Just example.com doesn’t seem to work.
I am now confused on what to do next to be able to create a site, using the same droplet, on my example.com domain.
I installed nginx but it gave me an error code, saying that the “Address already in use.”
All of the tutorials I am reading say to, for example, “Then, configure nginx to serve files from that directory. Open /etc/nginx/sites-available/default in your favorite text editor and update the line with the root directive such that it looks as follows:” I guess my problem might be, I have no idea how to edit get to these file and edit them in a text editor.
Appreciate any and all help y’all can throw my way.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You need to change the port that discourse listens on it, maybe use 8080 so you can use port 80 for Nginx.
Hope this helps.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.