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 trial

HTML

Can I use online server?

Hi,

I have been doing web design in Wordpress for a long time, and if I should edit small things in the websites, I have been changing that in the File Manager of the hosting provider, one.com.

Now I'm learning basic HTML, CSS, JavaScript and PHP, and I was wondering if I could build a website from scratch, only by using a online server and by coding in the File Manager of one.com? I don't like to do coding in local servers, because I'm afraid that it will crash with everything else of existing codes on my MacBook Air.

I hope someone have some advice, or that someone can help me to find the best place for doing coding. I hope that I can use the File Manager in the hosting provider, one.com.

Best Regards, Gerhard Øpsen

3 Answers

Jonathan Arbely
Jonathan Arbely
6,691 Points

Hello Gerhard!

The chance that your Mac will crash when developing locally is nearly nonexistent. So don't be afraid to use tools like MAMP and Xampp that can emulate a server locally.

You also cannot code "in the File Manager of the hosting provider". You always have to code locally, but in order to acually run PHP code you need a server.

The big downside to developing "on a" hosted server somewhere else (in your case one.com) is file management. You would have to upload each changed file every time you want to run it. Even with good FTP-Tools this is an unnecessary hassle.

I'd recommend doing the basic Gulp course. Gulp offers many handy extensions that make your life as a developer easiers, plus there are server extensions can run a local server in any folder on your device and are easily controlled. I'm using gulp-connect.

If you need more help, let me know!

Josué Rodriguez
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Josué Rodriguez
Front End Web Development Techdegree Graduate 24,118 Points

I'm sure you can but it's easier to work locally. In the How to Make a Website course. It goes over on getting a domain and uploading your files via FTP. Maybe that will be of some use to you. There are other ways of doing this like you mention a local server but this is an easy way to start.

Jonathan Arbely
Jonathan Arbely
6,691 Points

You might want to mark the answer you like best as "best answer". Thanks!