Re: Do Xara websites have script that connects to MySQL?
A search engine or a bot wouldn't be able to tell if a domain is an addon domain or not, so it shouldn't affect SEO in the least bit. The only thing they'd be able to figure out is if the addon domain has a unique IP or not which would indicate it may be on the same server as other domains, which shouldn't affect SEO either.
It sounds like you are considering changing the main domain and/or the username on the cPanel account. What your host said is basically true.
On a cPanel server, the mysql database name and the database username prepends the cPanel username to the name you type in. If you create a db name of "golf" for example and your cPanel username is "fred", then the resulting name would be fred_golf. Same would go for the mysql username.
If you have a script installed and it uses the absolute path to a file, like a cron would, then the script could "break" if you change the location of the script and/or change the username. Going back to "fred" as the cPanel username, the absolute path to say your index.php file in the webroot directory for your main domain would be:
/home/fred/public_html/index.php
If a script or cron is using that path and is configured that way and you change the username to charlie, then the path would change:
/home/charlie/public_html/index.php
which would cause a script configuration or cron command problem as the path would now be incorrect.
If you made the main domain an addon domain, by default cPanel uses the domain name as the directory name it creates for the webroot directory in the public_html directory. So, moving golf.com to an addon directory would also change the path so something like:
/home/fred/public_html/golf.com/index.php
which again would cause problems in crons and if a script is using an absolute path.
plain html sites wouldn't have any problem running from one webroot directory to another with or without a new username, so whether it's an addon domain or not, there wouldn't be a problem as long as the directory structure is maintained.
IE you have an images directory for images so that directory would need to be moved also to the new webroot.
Chris
LotsMoreHosting.com
Bookmarks