0

わかりました、ちょっとした初心者の質問です-その日の1つを持っています。

Ubuntu でホーム Apache Web サーバーをセットアップしました。複数の Web サイトをホストしたいので、仮想ホストを構成しました。これらはローカル ブラウザで正常に動作します。

http://site1
http://site2

どちらもさまざまなコンテンツを表示します。

For the server side of things, I've configured port forwarding on my router to send all port 80 requests to the server IP.

When I go to an external browser and type in my servers external IP address I get the standard apache "It works!" message. When I type in ipaddress/site1 I get 404. The site1 is not in the standard apache default directory, I have it in home/username/Sites/site1 folder and httpd.conf file knows this.

How is it I can access these site1 and site2 sites externally?

Cheers

4

1 に答える 1