Lamp on linux

 Server Lamp
<VirtualHost *:80>
ServerName wptest.id
ServerAlias www.wptest.id
DocumentRoot /var/www/wptest
</VirtualHost>

sudo a2dissite 000-default.conf
systemctl reload apache2
a2ensite wptest.id.conf
systemctl reload apache2
service apache2 restart
cd /etc
nano hosts
127.0.0.1    www.wptest.id
sudo chown -R $current_user:$current_user /var/www/wptest
sudo chmod -R 755 /var/www/wptest
password Z9CfDU64KSnrC95
usernanme wptest

Komentar