Ask HN: How do I set up my own simple website on a domain I buy?
This is pretty noobish - but what is everyone's recommendation for setting up a new website? Mainly this will be a personal blog of sorts... so do I buy a domain, then get another service like Heroku to put(publish) my application there?
Any good current tutorials? I'm thinking of working with the MEAN Stack or just in general javascript tech stacks.
30 comments
[ 6.3 ms ] story [ 73.3 ms ] threadYou might also explore simple website building companies like Wix or Squarespace.
Can't beat $0/month.
https://pages.github.com/
With static websites and github you need to have at least proper basic understanding of html, hosting and programming. Also simple mistakes can cause big damage and since there is no live help, you need to spend a lot time searching for answers online.
Yo are talking like a programmer, not sure if OP is one. From a programmer point of view - your option is much better. From newbie - absolutely not.
>Any good current tutorials? I'm thinking of working with the MEAN Stack or just in general javascript tech stacks.
I think they're a programmer.
2. Get hosting (Sometimes 1 & 2 are through the same company but don't have to be)
3. Point your domain to your hosting via updating forms at your domain name provider/hosting provider (if 1 & 2 aren't from the same company)
4. FTP your html and css etc up to the www directory on your hosting provider
5. Check it all works, fix stuff that doesn't.
Buy a domain at any registrar . . .
Buy hosting from some place like hostgator (even for a month just to play around with it). When you purchase your hosting set your primary domain to the domain you purchased.
At your domain registrar point(chanage) the A record to your hostgator hosting IP address this is in the cpanel DNS.
Create a simple html page, name is index.html
Now FTP your html and css in to the public_html folder on your hostgator hosting.
So enter your domain in a browser and it should display your html page you uploaded.
It might take some time for the DNS to resolve but usually it's ready pretty fast.
Now you have your feet wet with setting up a basic website you can look in to hosting a MEAN stack. For that I'd recommend hosting on Digital Ocean.
Another recommendation is to connect with classmates already doing this stuff. They can make recommendations and give you some one on one assistance.
I recommend buying your domain and hosting from the same provider.
Amazon Web Services has a free tier and tutorials on hosting a static site on S3. That's great if the technical interests include cloud services and the content is static and the domain ownership isn't about running a bunch of web ads. On the other hand, Godaddy will sell, host, and install a Worldpress blog and keep it updated...this might fit a different set of interests. Wordpress.com will host a Wordpress blog and let you focuos on running Wordpress and writing. Heroku offers a different balance.
Which brings the obvious question, what are your goals?
It can run on any shared hosting, plus it does not even need a database, which makes managing a website super easy. Think making the site locally and updating it with a simple git push.
I don't think a simple website needs Heroku or another PAAS or even needs to run on Node.js, which introduces unneeded complexity.
I am using Media Temple. It is not the cheapest, but it works like a charm. You can use my referral link to save 20% http://bit.ly/1OV1Mw9