homepage Welcome to WebmasterWorld Guest from 54.243.12.156
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Possibly a simple question .but.
Pollos




msg:3323764
 12:45 pm on Apr 27, 2007 (gmt 0)

I've just moved from shared to dedicated hosting and having to learn from the ground up.

I have plesk and Virtuozzo access plus ssh but please don't go there. My question is..

The domain name is example.co.uk with example.com set up as alias setup using plesk.

I want them swapping so example.com is the main domain name and example.co.uk is the alias.

At the moment I'm using htaccess to redirect all incoming to www.example.com which works except for subdomains.

The .com was the original, I used .co.uk to set the new hosting up before moving the .com over

What is the best way to change them around?
Do I really need to change them?

Hope I've explained it OK for you all.

Thanx Steve.

 

jdMorgan




msg:3323846
 1:46 pm on Apr 27, 2007 (gmt 0)

This one first:
> Do I really need to change them?

This depends on your market. Do you get more visitors/revenue/posts (whatever you most value) from the UK, or from the world at large? Do you want to get more from one or the other? Can you get more from the global market, or is it safer to compete only in the UK market? These questions, examined under the harsh light of reality, are what determine the answer.

> At the moment I'm using htaccess to redirect all incoming to www.example.com which works except for subdomains.
I assume that this is a problem? More details, please. You may need to change your code, or to copy it into the subdirectories where the subdomains are 'pointed' by your control panel, in order to redirect subdomains. But bear in mind that "www" is also a subdomain, and www.sub.domain.co.uk is a sub-sub-domain -- and it is hard to remember, harder to type, and looks silly as well, IMO.

> What is the best way to change them around?
Redirects in the top-level .htaccess file(s) for all domains and subdomains, as required. This is what you're already trying to do, but it seems that something about the configuration is just adding a bit of complication...

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved