Upload directory after DNS changes

7 posts by 4 authors in: Forums > CMS Builder
Last Post: June 9, 2008   (RSS)

By matrix - April 28, 2008 - edited: April 28, 2008

Hi,

I'm having a little trouble getting the uploads to show after a DNS redirect. This site was built first within a directory with a host where add on domains are permitted on accounts. (PrimaryDomainName.com/NewSite/). Everything worked great before DNS redirect, but now the upload path is wrong.

Previously, upload URL was /content/uploads/ within the NewSite directory. (/NewSite/content/uploads/)

Upload directory was:
/home/username/public_html/NewSite/content/uploads/

Now CMS Builder is looking for:
/home/username/public_html/NewSite/NewSite/content/uploads/

Any ideas? I know it's simple, and know it's just the path, but can't use /home/username/public_html/content/uploads/ as path since we have also installed CMS Builder there for another new site and /home/username/public_html/NewSite/content/uploads/

Have confirmed the correct path by running a server info cgi script on newly DNSed (new word?) domain which shows path starting with
/home/username/public_html/NewSite/

This may be something I have to take up with the webhost, but I am hoping you have a quick solution for me. Client is dying to see the site live. They absolutely love their CMS Builder.

UPDATE A FEW MINUTES LATER:
Thought I had a workaround, just by calling the doubled URL, but it doesn't work, either. Looking forward to your solution.

Thank you so much.
Happy Interactive Tools product user since 1999

Re: [MikeB] Upload directory after DNS changes

By matrix - April 29, 2008

Thanks so much! All is now perfect.

I sent in a support request and Dave gave us the great (and amazingly fast) service we've come to expect over the years. Clients are thrilled and so are we.

Interactive Tools still sets the benchmark for service and support. Can't wait to get the next CMS Builder websites up and running!

Many thanks, again.
Happy Interactive Tools product user since 1999

Re: [matrix] Upload directory after DNS changes

By ethan76 - June 8, 2008

Hi,

I'm having the exact same problem - any chance of putting your solution on the forum? I've been scratching my head for a few hours now!

Thanks

Ethan

Re: [ethan76] Upload directory after DNS changes

By matrix - June 8, 2008

Hi ethan76,

The answer in my case was fairly quick and easy...to create a second directory to hold the uploads directory (named after the domain name - wthout the .com suffix). You may want to check with support first, but I believe that if I'd initially created the redundantly-named directory, the problem wouldn't have happened. However, this may work only in a case like the one I encountered.

Copied below for you is the response I received, changed only to protect the root path and domain name information. I hope you can extrapolate your solution from this. If not, an email to support with your directory and path info will include specific information for your issue.

Interactive Tools has the best support ever, of course.

My response from Mike was:

"For now the best thing to do would be to copy the /CMS/uploads/ directory and move it into a /NewSite/ directory. This way the full path for uploads on your server will be:

/NewSite/CMS/uploads/

From there, you can change the upload path in the "General Settings" in CMS Builder to point to this new directory (/home/username/public_html/NewSite/NewSite/content/uploads/)."

Good luck!
Happy Interactive Tools product user since 1999

Re: [matrix] Upload directory after DNS changes

By ethan76 - June 8, 2008

Thanks so much for that Matrix,

I'll go and try it out now!

Ethan

Re: [ethan76] Upload directory after DNS changes

By Dave - June 9, 2008

Ethan,

I hope matrix's advice helped! If you have any more problems with this just let me know and I'll try to give you a hand. :)
Dave Edis - Senior Developer
interactivetools.com