javascript - How to Marry Local apache web domain? -
i bought domain on internet, want on domain put application. application developed on sails.js, , made virtual host apache2 using module mod_proxy. how do on domain bought on internet, put application?
my virtual host is:
namevirtualhost 111.11.11.111 <virtualhost *:80> servername app.domain.com.ve serveralias www.app.domain.com.ve serveradmin 111.11.11.111:1337 rewriteengine on proxypass / http://111.11.11.111:1337/ proxypassreverse / http://111.11.11.111:1337/ customlog /home/user/app/apache2log/accessapp.log combined errorlog /home/user/app/apache2log/errorapp.log </virtualhost>
and /etc/hosts:
111.11.11.111 www.app.domain.com.ve
you isp provide administration panel update a record. need update dns records point server application hosted.
you need host in datacenter. try aws/azure/google cloud/linode provides small server , provides external network interface on internet. publish application on host. should able access application public ip. can go domain control panel , modify record.
Comments
Post a Comment