Displaying 1 result from an estimated 1 matches for "my_subdomain".
2011 Nov 15
4
Need some guidance on running shell commands from my app..
During execution in my Rails web app, I need to create a virtual host
config on my Linux server, but I don''t know what would be the best way
to do it , here are the steps ( my_domain.com is fixed, only
my_subdomain is changing dynamically
1- create: /var/www/vhosts/my_domain.com/subdomains/my_subdomain/conf/
vhost.conf
ServerName mysubdomain.mydomain.com
.. content is always the same...
2 - run : sudo /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain
my_domain.com
.. always the same command
3 - run...