Seasons.NET

ちょっとした技術ブログです

apache設定

NameVirtualHost 192.168.11.150


  DocumentRoot /var/www
  ServerName seasons.com
  ServerAlias seasons


とまぁ、こんな感じですね。
気をつけるのは、apache2入れると、apache2.confで、最後の行
Include site-enabledが読み込まれていて、
こやつがデフォの VirtualHostを設定しているので、
がんばって設定しも上書きされます。

コメントにしておきましょう。

あと、サーバーのIPは、

/etc/network/interfaces

で変更しましょう〜。