PDA

View Full Version : Setting up Website and Blog on a New Server


skinner
04-11-2007, 16:20/04:20PM
Hi everyone, I couldn't see a more appropriate place than this to post the following: I have just moved my websites to a new server (from Aplus.net to HostGator), and the setup is very different so I'm having a problem getting everything straightened out. I managed to get the SQL database files on the new server, but I'm not sure where I have to change the permissions for the new server. They're WordPress files. Can anyone help here?

The other problem is that I have everything set up correctly (I think) but the secondary domain name, which is marketmou, shows up as a subdomain of my primary domain instead of www.2nddomain.com . There are no redirects in place. I opened a ticket but haven't seen any progress so far. I'm in a hurry to get this sorted out because I don't want my blog to suffer. Again, I'd appreciate any help. Thanks everyone.:)

WebSavvy
04-11-2007, 16:59/04:59PM
Patty, I just logged in to your CPanel on wellwrittenwords and the addons are setup correctly from what I could tell.

If you'd like, I could just delete the addons and their associated subdomains, and then re-add them for you. It wouldn't harm the folder at all. All it would be doing is removing the pointer and then adding it back.

Maybe something was setup incorrectly from the start. Did you add the subdomain first or did you add the addon first?

You have to add the addon first, and it will auto-create the folder.
Then once that is done, you can add a subdomain (e.g., blog.domain.com)

I'm hoping Connie or Adam might be able to provide some help with regard to the wordpress blog script because I've never looked at the backend of it so wouldn't know what file the db info would go into.

skinner
04-11-2007, 17:02/05:02PM
OK thanks Deb. At this point I'm prepared to start again. I think I did create the sub domain first. Was that wrong? Sigh.

WebSavvy
04-11-2007, 17:06/05:06PM
Yeah, that was probably the problem. :)

Let me do this, and I'll post back in about 5 mins. OK?

skinner
04-11-2007, 17:09/05:09PM
Bless you Deb.

WebSavvy
04-11-2007, 17:16/05:16PM
Nope. That wasn't the problem, Patty. This is a hostgator problem. It gives an error message saying there's an error in the wrapper and you do not own domain marketmou.com.

Update your ticket at hostgator and tell them there's a wrapper error. They'll know what that means and fix it.

So, then in a few hours this should be resolved.
You can also try them at their chat window by going to the front page. It's available 24/7.

I'll be online until about 11:00 tonight finishing up some work, and will check in on the progress periodically.

:)

skinner
04-11-2007, 17:22/05:22PM
OK I'll open a ticket and open a chat (I already did both today) and then I have to get a few hours sleep. It's half-past-midnight here! Thanks again Deb. I found it strange, because I've gone over everything so carefully and can't find anything out of place. :)

skinner
04-11-2007, 17:38/05:38PM
Well, that was quick! They fixed that already and now the URL is resolved. What a relief. Now just the blog left...:read:

WebSavvy
04-11-2007, 17:45/05:45PM
LOL. They didn't fix it. I did. ;)

In the main domain wellwrittenwords, it uses mod_rewrite in .htaccess to forward non-www to www. So, any CHILD domains (e.g., addons) will "forward" too.

So, I went into the .htaccess file for the child folder marketmou and added mod_rewrite to .htaccess to forward non-www to www for that domain so it escapes the forwarding requests for the parent. :D

I moved the /blog/ folder to the proper location too. Let's see if that's now working or if there's another issue?

skinner
04-11-2007, 17:48/05:48PM
I thought that was mighty quick--might have known you were to thank for that remarkably quick resolution Deb. Those guys have been looking at it for several hours. You're the best. :D

For anyone interested, this was the problem:

you have the mod_rewrite in .htaccess to forward non-www to www, it was doing it even for CHILD domains (e.g., addons)

Connie
04-11-2007, 20:12/08:12PM
The only thing you need to check on permissions is make sure the folders are 755 and all other files will be 644. Those two setting usually get set when uploading by default so your probably good to go.