linode clone for subdomain

I cloned a linode that has my staging environment, currently the subdomain is staging.mysite.com

Now I want the new linode to point to tumba.mysite.com.

I have made changes to the nginx.conf since it is run with django. I enabled in sites-enable, but I receive error 500 and I cannot determine what it is

2 Replies

Linode Staff

I am not an expert in website configuration, but from what I have read, you would need to create an A record for your new Linode pointing to the domain and alter your virtual host file that Nginx uses in order to have your domain resolve to a specific directory on your Linode. There are a few excellent posts about this like these here:

Thanks for answering.

The application is in django, it runs with gunicorn, and the code is in home/deploy.

I have modified sites-available/default for the url I want, but it does not work

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct