Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Forms Text Areas and Selects

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

4 Answers

Calvin Nix
Calvin Nix
43,828 Points

Hey Mohd,

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.

Thanks, Calvin

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.