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! While you're at it, check out some resources Treehouse students have shared here.
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 trialAndrew Norris
4,857 PointsMoving the pages to a production server.
Well we can't all register the domain shirts4mike.com, and I really don't want to register yet another domain that will never be used just for this educational exercise. Besides, the site we have been developing is totally branded for Shirts4Mike.com and would not look right on a domain such as Shirts4Joe.com.
Is it going to cost me if I don't deploy to a production server?
1 Answer
Jeff Lemay
14,268 PointsWhy do you need to move the pages to a production environment? When I went through the php courses, the first thing we were told to do is download XAMPP or MAMPP (windows or mac version). This allows you to turn your computer into a local server, where the htdocs folder will act as your localhost.
Andrew Norris
4,857 PointsYes, I did that too with XAMPP, and my local host works fine. I'm talking about loading the pages up to a production server with a real domain name.
Jeff Lemay
14,268 PointsWell yes that would cost you, you'll need a domain and hosting. But that is not required to continue with your education. I don't really see the point of publishing the Shirts4Mike site on a live domain.
Are you just trying to make sure your code will work when deployed to a live site? Your localhost works the same way as a live site, it's just grew.
Andrew Norris
4,857 PointsAndrew Norris
4,857 PointsI created a sub-folder named Shirts4Mike in the same tree for AndrewMNorris.com on my WebHostingForStudents.com account and loaded up the pages. It all works fine except for the contact page email, which readily accepts a contact request, but fails to send off a confirmation email.