Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Modern WordPress Workflow The Staging Server Staging Hosting

Need more help w/ Sub Domains and ServerPilot

Hey Jesse,

So I was able to move forward with your workflow and I'm loving it so far! Glad you guys convinced me to try it again :D

I'm slightly confused on how I would hook up my domain names to Serverpilot though... I have my VPS through DigitalOcean and I followed the instuctions there with nameservers. I went to my registrar and put in the names servers from Digital Ocean, I then added the subdomain name in the domain section of my serverpilot, but it's not finding anything when I go to the link.

I was hoping you could give me a quick run through on how you would set up your sub domain for staging and then the live one...

For example on my registrar's site I setup www.mysite.com and then I created a subdomain called staging.mysite.com. What would I do to get this working, and furthermore would I install the live and staging site to the same folder within my server pilot? Or would I want to have two different folders for each site?

Thanks so much for the help!!