Page 1 of 1

Missing Images were using an add-on domain to point to a subdirectory

Posted: Mon Sep 18, 2006 12:32 am
by kuroi
I have a site that I have built in a subdirectory of my hosting space for a client. She has puchased a domain name and I have pointed the nameservers to my server and created an add-on domain to point the URL to the subdirectory.

The problem is that when I try to access the site using the new URL directly i.e. www.new_url.com, the images don't display. When I use the full pathname i.e. www.main_url.com/sub_directory everything works perfectly.

To try to isolate the problem, I have gone right back to a clean install and the problem occurs from the first screen of the installation process, so that rules out the database, as I haven't yet told the CMS where it is, and the config file, since it hasn't yet been created.

HAs anybody else tripped over this problem, and better still resolved it?

Re: Missing Images were using an add-on domain to point to a subdirectory

Posted: Mon Sep 18, 2006 7:33 am
by zerrvox
hey..

My guess would be that the base tag is wrong. Try check if the base tag withing the head section says www.mail_url.com/sub_dir when you're are browsing the site through www.new_url.com.