LoginSignup
1
1

More than 5 years have passed since last update.

さくらVPSにJekyll入れたときの覚え書き

Last updated at Posted at 2012-11-20

バーチャルホストって何?

小悪魔女子大生のサーバエンジニア日記 » Blog Archive » バーチャルホストとは?

お名前.comのレンタルDNS

お名前.comでドメインを管理しながら、バーチャルホストを設定するときに気をつけたいこと。 | チュー介のtech techブログ
をみながら、
お名前.com の設定ページより
*hogehoge.com
hogehoge.com
を追加

VirtualHostの設定

基本的には、こんな感じでいけた

NameVirtualHost *:80
<VirtualHost *:80>
    ServerName blog.meganii.com
    DocumentRoot /home/user/jekyll/_site
</VirtualHost>

<VirtualHost *:80>
    ServerName lokka.meganii.com
    DocumentRoot /home/user/lokka/public
</VirtualHost>
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1