Making mydomain.com work


#1

I had carllyons.com set up to be fully hosted at dreamhost and set up a wordpress blog so that it’s at blog.carllyons.com

This was all fine, but anyone going to carllyons.com would get one of those white index pages.

I looked on the dreamhost panel and redirected carllyons.com to go to blog.carllyons.com

this now works, but:
a. stats don’t work
b. dreamhost panel shows carllyons.com as not fully hosted, but redirected

I’m thinking that there must be a better solution for allowing people to go to carllyons.com? Help much appreciated


#2

Reconfigure carllyons.com in Panel as Fully Hosted.

Create a .htaccess file in the carllyons.com folder:

Redirect 301 / http://blog.carllyons.com

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

Why not set up Mirroring?
http://wiki.dreamhost.com/Mirror_Domain

-Scott


#4

How about a simple meta redirect?

create a file index.html in the root of your carllyons.com domain with the following content

0 represents amount of time to wait before redirecting in seconds

Unless you don’t want users to know they’re at blog.carllyons.com, but instead to see carllyons.com at any point of time. In this case you would probably want to create frameset with only 1 frame. I would also try creating a symlink through ssh access, but some php apps break from something like that. Never tried it with wordpress though


#5

A 301, such as what sXi suggested, is the proper way to redirect a site. A 301 tells search engines that the site has been permanently redirected, which is better for search results.

-Scott


#6

Not to mention Google doesn’t like a redirect in a meta tag very well.

My website