Hi, I am currently getting into the hosting business. I need to learn how to use mod_vhost_alias. I looked at the Apache documentation. It says that I must make the changes in the httpd config file. I am not exactly sure if I have this file. I think I have an apache2 file where there are the main configurations of the server. Then I got files that are labeled offline_sites and online_sites. The online_sites already has the directory tags inside it to set up or configure the individual sites.
I am not sure where I should make the changes. Should it be in the main configuration file of the server or should it be in the file where each website's configurations are located? Where it configures the website hosted showing the default folder location and to not index the directory etc.
I assume I should make the changes in the location where the file has the configurations of each individual website or virtual hosts sites are.
Also, is the mod_vhost_alias enabled? Or do I have to enable it for it to work on the server? I know the mod_vhost_alias is already added to the server. Just don't know if I have to do enable the module for it to be on or running on the server.
Please do give me some tutorials or websites that I can see the whole process from enabling the module to changing the configuration files to the proper settings.
Thank you for your time.
I am not sure where I should make the changes. Should it be in the main configuration file of the server or should it be in the file where each website's configurations are located? Where it configures the website hosted showing the default folder location and to not index the directory etc.
I assume I should make the changes in the location where the file has the configurations of each individual website or virtual hosts sites are.
Also, is the mod_vhost_alias enabled? Or do I have to enable it for it to work on the server? I know the mod_vhost_alias is already added to the server. Just don't know if I have to do enable the module for it to be on or running on the server.
Please do give me some tutorials or websites that I can see the whole process from enabling the module to changing the configuration files to the proper settings.
Thank you for your time.