Rabu, 13 Mei 2015

VIRTUAL HOST

VIRTUAL HOST
1.       Buat directory #mkdir portal
Edit dg #nano /var/www/html/index.html
<html>
<body>
<h1>PORTAL</h1>
<h2>Sub Domain Portal.jogsa.edu</h2>
</body>
</html>
2.       #cd /etc/apache2/sites-available/
3.       #cp default portal / #cp 00(tab) portal
4.       Edit #nano portal

5.       #a2ensite portal
6.       #service apache2 force-reload
7.       Cek dibrowser IPserver/portal

0 komentar:

Posting Komentar