Edit file /etc/namedb/master/domain.db
Tambahkan sebaris di DNS Server :
ppin CNAME serpong6
Edit file /usr/local/etc/apache/httpd.conf
Tambahkan baris-baris berikut ini di Web Server:
<virtualhost *:80>
ServerAdmin admin@batan.go.id
ServerName ppin.batan.go.id
DocumentRoot /home/ppin/public_html
ErrorLog /home/ppin/logs/ppin-error_log
CustomLog /home/ppin/logs/ppin-access_log combined
<directory>
AllowOverride All
Order allow,deny
Allow from all
</directory>
</virtualhost>
Yakinkan bahwa folder /home/ppin/logs dan /home/ppin/public_html sudah dibuat.
Restart DNS di DNS Server
[root@s11] ~ # /etc/rc.d/named restart
Stopping named.
Waiting for PIDS: 26822.
Starting named.
[root@s11] ~ #
Restart Apache di Web Server
[root@s6] ~ # /usr/local/etc/rc.d/apache restart
Stopping apache.
Waiting for PIDS: 10830.
Starting apache.
[root@s6] ~ #
No comments:
Post a Comment