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
Local Host Setup
how do i configure my browser so that i connect to <code>http://localhost</code> just like nickpettit have i am using sublime text3
Calvin Nix43,828 Points
This requires you to set up a local server using either MAMP or XAMPP depending on what Operating System you are using.
However, if you just want to see your HTML and CSS code that you are writing in sublime text you just need to paste the directory into the browser.
Mohd: You need to set up a web server on your machine. In the future, if you could provide a little more info-- such as, which operating system you're using-- we can better answer your questions.
That being said, if you should be running windows:
Again, sir, more information! What flavor [Ubuntu;Fedora;Mint] are you running? What kind of processor does your machine have and how much RAM is it working with? Do you have a second computer? What are it's specifications?
I'm not trying to complicate your question, I promise. The information I'm asking for can lead to several different suggestions. For instance, if your machine's on the slower side, I would suggest Nginx in lieu of Apache.
If you have a second machine, I would suggest installing your web server on that so that you can familiarize yourself with FTP vs SSH, etc.