Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Oct 11, 2013 2:05 pm 
Offline
Newbie

Joined: Fri Oct 11, 2013 1:55 pm
Posts: 4
Hello,

I am trying to set up a LEMP stack on my linode401891 and to run a wordpress site with domain name mysite.com.

I would also like to run an instance of discourse as a subdomain of mysite.com (forum.mysite.com or something like that).

I've been going back and forth with several startup guides. Everything I've set up so far comes from the following guides (using mysite.com as the domain name):

https://library.linode.com/getting-star ... our-linode
https://library.linode.com/securing-your-server
https://github.com/discourse/discourse/ ... -ubuntu.md
https://library.linode.com/lemp-guides/ ... e-pangolin

After more or less completing those guides, I received a 502 bad gateway error, which went away once I removed /etc/nginx/conf.d/discourse.conf. I believe the error may have been because the server_name was set to mysite.com for both that configuration (at root /var/www/discourse/public_html/) and for a configuration at /etc/nginx/sites-avaiable/mysite.com (at root /srv/www/mysite.com/public_html).

Now I am trying to set things up just for /srv/www/mysite.com/public_html.

No matter what I do, I am still presented with a "Welcome to nginx!" page upon trying to visit mysite.com or mysite.com/importbuddy.php and a php file at /usr/share/nginx/www/info.php downloads instead of displaying on my browser

So I started troubleshooting with the following guides:

https://www.digitalocean.com/community/ ... -04-lts--3
https://www.digitalocean.com/community/ ... untu-12-04

Still not getting anywhere. I'll provide additional information, but I'm not sure what information would be most useful.

Thanks for any help.


Top
   
PostPosted: Fri Oct 11, 2013 2:44 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
The contents of your nginx config files and error logs will help.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Mon Dec 09, 2013 5:19 pm 
Offline
Senior Newbie

Joined: Sun Oct 20, 2013 9:05 am
Posts: 13
Did you delete default configuration file in sites-enabled folder?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group