TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Do you blog under your own domain? How?

27 点作者 gtrubetskoy将近 5 年前
I&#x27;m put off by increasing centralization (I won&#x27;t name companies, you know them) and would like to know who still does it &quot;old school&quot;, hosting their own blog. I&#x27;m especially interested in the technology behind it.<p>E.g. mine is grisha.org and it&#x27;s hosted on github pages and behind cloudflare which is how I get SSL. Cost: $0. The blog itself is Octopress and it&#x27;s kind of aging, I might look at Hugo next if&#x2F;when I have time.

33 条评论

staysaasy将近 5 年前
Hey there! We use the following setup for our blog (link in profile if you&#x27;re curious). I did a lot of research on this setup and think it&#x27;s one of the best stacks to use provided that you&#x27;re technical:<p><pre><code> - Our site is built using the static site generator Jekyll (https:&#x2F;&#x2F;jekyllrb.com&#x2F;docs&#x2F;). We use the Hydeout theme (https:&#x2F;&#x2F;github.com&#x2F;fongandrew&#x2F;hydeout) + some additional CSS styling, but you can really use anything. - Gitlab pipelines for continuous deployment - GoDaddy for domain management </code></pre> Pros:<p><pre><code> - Fast out of the box. - Simple to get set up (on the order of hours to get production-ready with full CI&#x2F;CD!) - Flexible (you can customize Jekyll all you like if you know a modicum of CSS - tons of control). - Managed and versioned in Github, collaboration and updates are a breeze. - Free </code></pre> Cons:<p><pre><code> - You need to be technical, but that&#x27;s probably not an issue for the HN set. </code></pre> We tried Medium and Blogspot as well. Medium looks great but the ecosystem is somewhat hostile, and Blogspot looks ultra dated. Wordpress is probably great if you&#x27;re a Wordpress expert, but for us as engineers it was actually easier to just use Jekyll.
theandrewbailey将近 5 年前
Yes: <a href="https:&#x2F;&#x2F;theandrewbailey.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;theandrewbailey.com&#x2F;</a><p>1. Namecheap DNS registration.<p>2. Server is an old PC in my basement.<p>3. Dynamic DNS client running on my OpenWRT router.<p>4. Code is a homemade blog system. Linux, Java (Servlets + JSP + EJB), Payara, PostgreSQL.<p>5. Uses a Let&#x27;s Encrypt certificate.<p>It&#x27;s totally old school, but fun to play with, and it serves pages fast.
axegon_将近 5 年前
I feel you as far as centralization is concerned.<p>Personally I&#x27;ve been meaning to start writing for some time now but I keep kicking the can down the road for multiple reasons.<p>Problem 1: Lack of time, other more important things that I need to take care of and basically life in general - I&#x27;ve had serious time constraints during the last few years. Which I have been able to considerably improve lately. Which is completely unrelated to the lockdown and has more to do with me figuring out how to organize everything and catch up. And ultimately I&#x27;ve been looking into starting again lately.<p>Problem 2: The absence of a decent platform: I really don&#x27;t want to deal with maintaining a database or a server for the purpose of serving text and images.<p>Problem 3: sphinx, hugo, and all other static site generators, while great, are not self-contained and a huge overkill imo for a personal site&#x2F;blog. Meaning that managing them on the go is still painful - I&#x27;d have to setup a ci&#x2F;cd to manage them, which I feel is the same as having a database and a server somewhere.<p>So I tried to somewhat fix problem 2 and 3 and built something from scratch myself - a small dartlang-based site(as I&#x27;ve stated a million times, i abhor javascript with a passion and just seeing it makes me vomit), which operates with either html or markdown pages, simple href and routing. The point is that at any given time I can unlock my phone, ssh into any of my servers, add a .md file, add a link, commit and push and forget about it.<p>I&#x27;ve been meaning to open-soruce the whole thing and if someone&#x27;s interested they can use it. All in all, the end result is a transpiled js file from dart, which is ~90kb gzipped, an index.html and a yml file which allows you to customize stuff.<p>If anyone is interested, you can have a look at <a href="http:&#x2F;&#x2F;axegon.com" rel="nofollow">http:&#x2F;&#x2F;axegon.com</a>.
评论 #23211579 未加载
h2odragon将近 5 年前
I use Pelican ( <a href="https:&#x2F;&#x2F;blog.getpelican.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.getpelican.com&#x2F;</a> ) and host on NearlyFreeSpeech ( <a href="https:&#x2F;&#x2F;www.nearlyfreespeech.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.nearlyfreespeech.net&#x2F;</a> ) for my blog, <a href="https:&#x2F;&#x2F;snafuhall.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;snafuhall.com&#x2F;</a> .<p>I don&#x27;t have much traffic; the blog and email&#x2F;etc runs less than $10&#x2F;mo.<p>It&#x27;s <i>possible</i> to lease a bare IP range and set up your own DNS servers, etc. For small amounts of traffic theres no reason you couldn&#x27;t use a RasPi to serve a blog that way. There&#x27;s also drawbacks and headaches that make renting someone else&#x27;s stuff attractive.
rahimnathwani将近 5 年前
Build+host: Netlify<p>Version control: GitHub<p>Editing: Netlify CMS or nano+git<p>I started setting this up from scratch using Gatsby, but then realized it would be much better and also easier to use this starter:<p><a href="https:&#x2F;&#x2F;www.gatsbyjs.org&#x2F;starters&#x2F;alxshelepenok&#x2F;gatsby-starter-lumen&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.gatsbyjs.org&#x2F;starters&#x2F;alxshelepenok&#x2F;gatsby-start...</a><p>It is as easy to set this up, as it is to install LAMP+WordPress on a VPS.
teekay将近 5 年前
I use Eleventy for my technical blog, and self-hosted Ghost for my tango music blog. I plan to migrate from Ghost to Eleventy such that my website is 100% static.<p>Eleventy is great for me because it&#x27;s written in Javascript and I use Javascript every day for work. Very fast and capable. Can&#x27;t say how it compares to other static site generators because it&#x27;s the first one I&#x27;ve used.<p>My setup includes nginx and Letsencrypt, and that&#x27;s pretty much it. The Ghost blog uses a SQLite database.<p>I wouldn&#x27;t blog on any third-party service since they could kick me out anytime for any reason. My website is my digital garden. I don&#x27;t monetize it, don&#x27;t run ads there, don&#x27;t sell anything. No reason to run it anywhere but on my own server.
elamje将近 5 年前
Unbeatable platform is <a href="https:&#x2F;&#x2F;repl.it" rel="nofollow">https:&#x2F;&#x2F;repl.it</a>! You can edit code, deploy, host, and set up custom domains all from the same browser page. And it’s FREE!<p>I host my custom HTML and CSS blog there and it’s great! <a href="https:&#x2F;&#x2F;www.towardssoftware.com" rel="nofollow">https:&#x2F;&#x2F;www.towardssoftware.com</a><p>More importantly it’s all just basic files I can export to another platform if repl.it gets acquired or shuts down. They can host a basic HTML, css and js blog, however I choose to use python flask because I like the templating and simple routing.
BjoernKW将近 5 年前
WordPress (the self-hosting, WordPress.org flavour). Works like a charm. It&#x27;s flexible, easy-to-use and performs very well on a mid-range virtual host. It&#x27;s also reasonably secure if you apply common sense and best practices (e.g. use complex passwords) and don&#x27;t install plugins indiscriminately.<p>There are plugins for every feature you could possibly need.<p>You admittedly have to put in some time for researching and comparing those and not fall for the temptation to install the first plugin you come across for a particular feature.
XCSme将近 5 年前
I already had a PHP site so I wanted an easy way to integrate a blog in my site. I ended up creating a micro-blogging library[0], which just renders markdown as blog posts. The advantage is that there is no build step, you only write markdown files (VSCode has live-preview by default for markdown) and you have easy versioning as markdown is just text.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;Cristy94&#x2F;markdown-blog" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Cristy94&#x2F;markdown-blog</a>
jamieweb将近 5 年前
A pair of $5 cloud servers and a Cloudflare load balancer for resiliency.<p>Ansible is used to build and maintain both servers, and the actual web content is in Git.<p>I use `receive.denyCurrentBranch=updateInstead` in the repo config on the servers, so I just do a push to each and the new content goes live instantly.<p>The reason for doing it this way is that I want to fully own my platform. I have fine-grain control over all of the web server headers, PHP configuration, etc.<p><a href="https:&#x2F;&#x2F;www.jamieweb.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jamieweb.net&#x2F;</a>
doersino将近 5 年前
I use Uberspace [1] – they&#x27;re a Germany-based shared hosting provider with proper shell access, a pay-what-you-want model and they&#x27;re generally very nerd-friendly – to host a fairly basic Jekyll blog [2], among other things.<p>The domain is managed via Hover [3].<p>[1]: <a href="https:&#x2F;&#x2F;uberspace.de" rel="nofollow">https:&#x2F;&#x2F;uberspace.de</a><p>[2]: <a href="https:&#x2F;&#x2F;excessivelyadequate.com" rel="nofollow">https:&#x2F;&#x2F;excessivelyadequate.com</a><p>[3]: <a href="https:&#x2F;&#x2F;www.hover.com" rel="nofollow">https:&#x2F;&#x2F;www.hover.com</a>
lukaszkups将近 5 年前
I generate my website via me very own static site generator I&#x27;ve built for fun (and still working on it to make it open source for others to use).<p>The hosting is my local provider, I sent updates via FTP (oldschool huh?) and keep my website behind cloudflare to save some bandwidth.<p><a href="https:&#x2F;&#x2F;lukaszkups.net&#x2F;notes&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lukaszkups.net&#x2F;notes&#x2F;</a>
ybbond将近 5 年前
I host my site for $5 per month on DigitalOcean. <a href="https:&#x2F;&#x2F;ybbond.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ybbond.dev&#x2F;</a>, also git.* and rss.* subdomain. I use LEMP stack because the rss one needs PHP and MySQL, while the main site built with Hugo. All use LetsEncrypt.<p>Some of my subdomains hosted on netlify, because I won’t bother myself installing node.js on my server.
wodenokoto将近 5 年前
That’s a great question!<p>How: github pages. How, you ask? I don’t know. I set it up once, and now when I log in to github it tells me I set it up wrong and I should set it up again correct. I don’t know what I did or how to do it correctly - but visiting my domain works, so I don’t dare to fix what isn’t really broken.<p>So I guess you don’t need to know what you’re doing to host a static site on your own domain :)
评论 #23207668 未加载
vulcan01将近 5 年前
I run Sovereign [1] on a Vultr VPS, $5&#x2F;mo. Flask on Apache for blogging. (Sovereign is &quot;a set of Ansible playbooks to build and maintain your own private cloud: email, calendar, contacts, file sync, IRC bouncer, VPN, and more.&quot;)<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;sovereign&#x2F;sovereign" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sovereign&#x2F;sovereign</a>
8589934591将近 5 年前
Namesilo DNS. Hosted on Netlify pointed from private gitlab repo. Hugo SSG.<p>I like your blog :) Subscribed in RSS.<p>OTOH, writing content is a challenge for me. If I try to start writing a tutorial, there seems to exist many others, with some of them being very high quality content. In the end it becomes futile to figure out what to write.<p>Would appreciate any tips to start writing about something.
评论 #23215843 未加载
nickdothutton将近 5 年前
Generated by Hugo, hosted on smallest AWS LightSail, own domain. Uses nginx, Lets Encrypt, FBSD. Auto-updates everything and if something breaks it breaks. 1000 days and zero maintenance. <a href="https:&#x2F;&#x2F;blog.eutopian.io&#x2F;the-stack&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.eutopian.io&#x2F;the-stack&#x2F;</a>
评论 #23208442 未加载
marssaxman将近 5 年前
My blog still technically exists, though I haven&#x27;t posted in several years. It lives on an instance of wordpress hosted by pair.com. I&#x27;m not sure if that&#x27;s what you mean by &quot;hosting their own blog&quot;, but I own the domain name, so I could move it somewhere else if I ever wanted to.
houqp将近 5 年前
Mine is managed using Github, generated using Hugo and hosted using netlify. Also costs $0 other than the domain name, which I use for other purpose as well.<p>You can check it out at: <a href="https:&#x2F;&#x2F;about.houqp.me&#x2F;posts&#x2F;" rel="nofollow">https:&#x2F;&#x2F;about.houqp.me&#x2F;posts&#x2F;</a>
dglass将近 5 年前
My blog is built using Jekyll and the code lives in a private github repo. I use Netlify for hosting and SSL. Total cost is about $9 per year to renew the domain.<p><a href="https:&#x2F;&#x2F;www.exponentialbackoff.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.exponentialbackoff.com&#x2F;</a>
soulchild37将近 5 年前
Yes, I used Ghost for my blog, and hosted on DigitalOcean, and domain gotten from namecheap.<p>Monthly server cost is $5, Domain cost $15 a year<p>If you are interested to check it out, <a href="https:&#x2F;&#x2F;fluffy.es" rel="nofollow">https:&#x2F;&#x2F;fluffy.es</a> (iOS development mainly)
评论 #23245940 未加载
otras将近 5 年前
I do something very similar, although I hesitate to claim that I’m doing it old school. I use a Hugo blog hosted on GitHub pages, and my biggest expense is paying ISNIC (the Icelandic domain registry) for a .is site that works well with my last name.
DoreenMichele将近 5 年前
I blog via blogger.com. You can use your own domain name with a blogger site.<p>I do so for some things.
rraghur将近 5 年前
Https:&#x2F;&#x2F;blog.rraghur.in<p>Gitlab pages with custom domain. Ssl from lets encrypt. Domain managed by cloudflare.<p>Static site with Hugo and I use asciidoctor for authoring entries<p>Let&#x27;s encrypt cert renewal is via a cron job running on rpi in my home network
doomrobo将近 5 年前
I have a Digital ocean droplet that costs me $5&#x2F;mo. I host a static site at <a href="https:&#x2F;&#x2F;mrosenberg.pub" rel="nofollow">https:&#x2F;&#x2F;mrosenberg.pub</a> using Jekyll, nginx, and Lets Encrypt.
hopesthoughts将近 5 年前
I&#x27;ve been using the self hosted version of WP for about 15 years now. That being said I&#x27;m always willing to test new services.
softwaredoug将近 5 年前
I use Jekyll and netlify through github. It’s a pretty seamless setup.<p>Like you I don’t want my content locked up a proprietary site or platform like medium.
5986043handy将近 5 年前
I use <a href="https:&#x2F;&#x2F;www.11ty.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.11ty.dev&#x2F;</a> + Netlify
cixter将近 5 年前
Blixhavn.dev<p>I run a Ghost installation on a Debian VM, reverse proxied through Nginx and set up with Let&#x27;s Encrypt.
rurban将近 5 年前
Simplier than yours. Just hugo on github pages. Good enough, and much better than Octopress.
zn44将近 5 年前
I didn’t post anything yet but I’ve recently set up a blog using Hugo, s3 &amp; cloudfront
BorisTheBrave将近 5 年前
Wordpress hosted on Dreamhost.<p>I used to run Drupal, but it wasn&#x27;t worth the effort.
quickthrower2将近 5 年前
I use Perl and the common gateway interface on a 386 desktop pc.