I'm a newbie in deploying apps using Apache. Not so long ago I've deployed vue.js using very simple tutorial configuration and then I tried to deploy strapi admin panel on the same VDS using same IP. So I am faced with a couple of troubles:
- I don't know how to modify my configuration to deploy admin panel with my site correctly.
here is my config:
<VirtualHost 188.***.**.***:80>
ServerName my-site.com
ServerAlias www.my-site.com
ServerAdmin someEmail@example.com
DocumentRoot /var/www/mySite/public_html
<Directory /var/www/mySite/public_html>
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/www/mySite/error.log
CustomLog /var/www/mySite/access.log combined
</VirtualHost>
I've rented VDS on hosting service and they gave to me technical hostname which is connected with my server IP and this makes me puzzled, because I have to configure Server name and Server Alias in my site conf. Is these parameters will be visible in internet or in domain name system?
maybe I'm asking stupid questions but after a week of deep-sitting in documentation I didn't find clear answer.