virtual host on ubuntu server
#cd /etc/apache2/
#create directory vhost
#nano seseorang.conf
#paste text below
NameVirtualHost *:80
<VirtualHost *:80>
ServerName seseorang.org
ServerAlias www.seseorang.org
ServerAdmin admin@seseorang.org
DocumentRoot /home/seseorang/public_html/seseorang.org/public
<Directory /home/seseorang/public_html/seseorang.org/public>
AllowOverride All
Options All
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<LocationMatch “^/+$”>
Options +Indexes
</LocationMatch>
</VirtualHost>
#save
#nano apache2.conf
#add text below
Include /etc/apache2/vhost/*.conf
#save