仮想Web Ubuntuのホスティング

S

somaditya

Guest
最近、私はLinuxがそのApache2の仮想のホスティングは簡単ですからね。私はDebianと洗練されたavtarの使用分布を白髪のUbuntu、更新と呼ばれるようにすることができます。としてのApache2のバーチャルホストを有効にする次の手順は-

1。Apacheのインストール- 2
#のapt -インストールするのapache2

2。etc/apache2/sites-available構¥成ファイルをに/特定のサイトを追加
#viは/ etc/apache2/sites-available/example.org

のServerAdminウェブマスター()でexample.orgの
DocumentRootは/ www /のexample.orgの/例の/ home
ServerNameはのexample.org:80
のCustomLog /組み合わせhome/example/www/log/apache2-access.log
home/example/www/log/apache2-error.logのErrorLog /3。有効にするサイト
#がexample.org a2ensite

4。Apacheを再起動
#/ etc/init.d/apache2再起動

したら、ブラウザをさ指す行わは、にhttp://example.orgに

 

Welcome to EDABoard.com

Sponsor

Back
Top