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 had bought a domain in namecheap, and want to setting up my subdomain in digital ocean. Currently I only had one droplet and running ubuntu linux 14.04. My site was running in grunt at null:3000 which is localhost:3000. In apache2 conf, I had used proxypass redirect to my site. Right now, things are getting weird, my domain.com works yesterday, but today doesn’t work anymore.
NameCheap
Digital Ocean
000-default.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName www.mydomain.com
DocumentRoot /var/www/mydomain
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
subdomain.mydomain.com.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/subdomain
ServerName subdomain.mydomain.com
<Directory /var/www/subdomain>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
Require all granted
</Directory>
<Location />
ProxyPass http://localhost:3000/
ProxyPassReverse http://localhost:3000/
</Location>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
/etc/apache2/sites-available/000-default.conf used for mydomain.com /etc/apache2/sites-available/subdomain.mydomain.com.conf for subdomain. I had used a2ensite command to activate my subdomain, but the site doesn’t work, it show the site can’t be reached. Currently, both sites doesn’t work.
gerard
Jon Harris
orbitstorm88
rem3n
yolanda smith
301276acdc124dd982fe86364ba8c4
30ddab6038c044188d489290785dcb
699c9bc0a2c34f248e792cb8d2c6ab
Kent Morlan
sylvaticus
agitechcr
8b8f3c8ea96345bf8ddb0a59a008e2