After many years of my employer going on about cPanel and accusing me repeatedly of being stubborn in not implementing it and not checking the software out, I have caved in. He has paid a 2 year license and I am starting to regret it.
Don't get me wrong, cPanel is good software. For a simplified method of hosting websites that individual users can manage it does the job well. I have known this for many years, I even had a hosting account with a company using cPanel for about 2 years. However for me it was restrictive, and now that I have installed cPanel/WHM I am encountering problems with website hosting that I should not be dealing with.
The main problem I have at the moment is with some software that I have written, you can access it via several different domain names and depending on the domain name is what content will be served.
So I have setup an account within cPanel specifically for this software, it has its own domain name, let us call it xyz.net. If people access www.xyz.net then it will display info about the software. It also has its own Control Panel that would be accessed via cpanel.xyz.net.
Now let us say there are 4 other domain names that can access the same web space:
wiki.domain1.com
wiki.domain2.com
wiki.domain3.com
wiki.domain4.com
However the content for each is different depending on which domain is referenced.
In the Apache configs on my old server I had a VirtualHost container for each domain name that pointed to the same directory space but had individual Access and Error Log Files. What I have been able to work out so far is that I can manually add ErrorLog directives and ServerAlias directives to the filesystem that gets included inside the VirtualHost container.
So how do I add extra VirtualHost containers of my own without causing problems with cPanel's Apache especially in the building of the config file?
Maybe under the domains section of cPanel there should be an extra feature to allow advanced users the ability to edit the current VirtualHost container or even add new ones.
On another matter if I had the following website setup:
www.domain.net
but also had the domain www.domain.com and wanted to point that at www.domain.net how would you go about adding that into cPanel?
If I use Addon Domain it wants to know FTP and Password account info for the domain, which isn't necessary. If I try to use Parked Domain it chucks up an error about needing to host the DNS details on the server for the domain name. It looks like I have to actually manually edit yet another VirtualHost container and add in ServerAliases into it.
With Apache 2.2 using DBD for Authentication purposes, you don't include the rpm's for the actual DBDrivers eg libmysqlclient. So even tho you can turn the DBD option on, you can't use any of the authentication methods! I have had to stay using mod_auth_mysql which builds under Apache 2.0 but not Apache 2.2
They are the three most immediate issues, any help much appreciated!
Don't get me wrong, cPanel is good software. For a simplified method of hosting websites that individual users can manage it does the job well. I have known this for many years, I even had a hosting account with a company using cPanel for about 2 years. However for me it was restrictive, and now that I have installed cPanel/WHM I am encountering problems with website hosting that I should not be dealing with.
The main problem I have at the moment is with some software that I have written, you can access it via several different domain names and depending on the domain name is what content will be served.
So I have setup an account within cPanel specifically for this software, it has its own domain name, let us call it xyz.net. If people access www.xyz.net then it will display info about the software. It also has its own Control Panel that would be accessed via cpanel.xyz.net.
Now let us say there are 4 other domain names that can access the same web space:
wiki.domain1.com
wiki.domain2.com
wiki.domain3.com
wiki.domain4.com
However the content for each is different depending on which domain is referenced.
In the Apache configs on my old server I had a VirtualHost container for each domain name that pointed to the same directory space but had individual Access and Error Log Files. What I have been able to work out so far is that I can manually add ErrorLog directives and ServerAlias directives to the filesystem that gets included inside the VirtualHost container.
So how do I add extra VirtualHost containers of my own without causing problems with cPanel's Apache especially in the building of the config file?
Maybe under the domains section of cPanel there should be an extra feature to allow advanced users the ability to edit the current VirtualHost container or even add new ones.
On another matter if I had the following website setup:
www.domain.net
but also had the domain www.domain.com and wanted to point that at www.domain.net how would you go about adding that into cPanel?
If I use Addon Domain it wants to know FTP and Password account info for the domain, which isn't necessary. If I try to use Parked Domain it chucks up an error about needing to host the DNS details on the server for the domain name. It looks like I have to actually manually edit yet another VirtualHost container and add in ServerAliases into it.
With Apache 2.2 using DBD for Authentication purposes, you don't include the rpm's for the actual DBDrivers eg libmysqlclient. So even tho you can turn the DBD option on, you can't use any of the authentication methods! I have had to stay using mod_auth_mysql which builds under Apache 2.0 but not Apache 2.2
They are the three most immediate issues, any help much appreciated!