var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Ok I know this has been asked before and answered before but I can not find the post and tried a few search keywords with no luck.
My question is:
I setup an account on my dedicated server. Now I want that account to be accessible using http://www.domainname.com AND http://domainname.com
Right now when I go to the site using the www. the site works but if I dont use the www. I get the Cpanel message saying their is no site configured at this location?? Funny thing is my other accounts on this same box work with and without the www. ???
Any idea what I need to fix on this one account to get it to work like I want
Thanks All for help and your time
It's to do with your DNS.
www. is a subdomain of domainname.com
I'm not too sure on how CPanel works (it's been like 5 years since I used it) but I believe if you add www. as a subdomain you can point it where you want.
- VPS Control Panel
Automating and monitoring your hosting business.
well whn I look at the edit dns page on in my cpanel all the settings seem the same as the other accounts on the site?
Your zone file needs a CNAME entry like
www IN CNAME domain.com.
and your httpd.conf file needs a ServerAlias entry like
ServerAlias www.domain.com domain.com
Maybe you created the domain as "www.domain.com" and not just "domain.com"?
Does www.www.domain.com resolve?
I'd delete it and start over in CPanel.
Kevin, The Walrus