I have completed following apache2 confirmation
<VirtualHost *:80>
ServerName start.example.com
DocumentRoot /var/www/start.example.com/public/
<Directory "/var/www/start.example.com/public/" >
AllowOverride all
Allow from all
Options -MultiViews
RailsBaseURI /rails
RailsEnv production
RewriteEngine On
</Directory>
</VirtualHost>
I set file in /etc/apache2/site_availables/start.example.com.conf
same file set in site_enables
service start succesfully but it's not point to my domain name or ip address.
I don't getting what's wrong with this.
Please Help Me. Thanks In Advance.
In Document Root or Directory, you need to give the path of your project.
After this, need to restart apache2 server.
Now, last step go to hosts file
Add, your host here
Now, Browse! It will work.