Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I am trying to set up another website on a subdomain.
I have followed the tutorial and forum post below but got no results: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04 https://www.digitalocean.com/community/questions/how-do-i-add-sub-domain-and-make-it-point-to-a-certain-directory
I’ve a wordpress website running on /var/www/html. I have created another website on /var/www/sanaltur and created a apache config file as follows:
cat /etc/apache2/sites-available/sanaltur.tarikznursal.com.tr.conf
UseCanonicalName On
<VirtualHost *:80>
ServerAdmin admin@mydomain.com
ServerName sanaltur.tarikznursal.com.tr
ServerAlias sanaltur.tarikznursal.com.tr
DocumentRoot /var/www/sanaltur/
<Directory /var/www/sanaltur/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Then I used:
- a2ensite sanaltur.tarikznursal.com.tr.conf
command to enable the conf file.
Still, I can’t reach to subdomain.
Thank you for your help
gerard
Jon Harris
orbitstorm88
rem3n
yolanda smith
301276acdc124dd982fe86364ba8c4
30ddab6038c044188d489290785dcb
699c9bc0a2c34f248e792cb8d2c6ab
Kent Morlan
sylvaticus
agitechcr
8b8f3c8ea96345bf8ddb0a59a008e2