Hey all, I am setting up a blog for a website and it is important (for reasons I do not wish to disclose) that the blog be on another server at another datacenter. However, it is also important that the blog appear to be a subdirectory of the main site (for SEO purposes). That is, if my site is www.mysite.com then the blog which is on another server should appear to be www.mysite.com/blog. Anyone know how to go about doing this? Thanks for your help, Jordan P.s. Sorry if this is the wrong forum. Mods please move if necessary.
it can not be done. It will work with redirect but it will be another site ... best is if you use subdomain .. anayway google changed their algo and now subdomain is counted as one with the main site... Cheers, Venetsian.
Venetsian is correct, You can't have a subdirectory on a different server due to how domains work. A domain points at a server, so everything on that domain needs to be on the same server, it's like a house, you have your street address, but you can't have a room in the house in another suburb, you'll need to use a subdomain of your domain or a different domain entirely.
we have a few of those load balancers here but guessing from the posters post that he doesn't have a ludaris amount of cash to spend on load balancers
WOW you are all wrong... This can EASILY be accomplished, ever heard of NFS? Well ok as long as both boxes are *nix boxes (well if they are windows then you can do the same thing but its highly insecure). Server with the blog on it, needs to share its self out as an NFS directory the main domain server can mount this directory in like /export/somedirhere then just handle it like any other directory on your server, make sure apache defines the directory path /blog as this /export/somedirhere Or you can always use curl, use php and curl and you can pull the entire site and make it look like your site using curl and php. If you don't know how to setup NFS or CURL then you will need to hire someone.
NFS is a realy unstable way to share folders, while it is an option, it can silently fail,meaning it'll appear there but won't be accible, and if it's over a wan the failure rate generaly goes up. It'll also require modification to both servers to get the NFS setup
Ummm NFS is used by the largest companies in the world to do EXACTLY this.. have you ever heard of a NAS or a company called NetApp? Their entire business model is based on companies using their NAS servers to NFS or SMB attach storage to their systems. If you don't use NFS what would you use to share folders over a network?