View Full Version : Using a new domain on current hosting?


xafier
25-03-2005, 07:48
Hi guys

as some of you know I've just started up a singles forum, but at the moment the URL is a bit of an arse to remember and I don't even want to imagine how card its going to be for someone to reccomend it to a mate...

"alright mate, check this site out, its xafiers... oh, thats x a f i e r s, then a dash, home dot com slash sheff singles... got that?"

so I'm looking at getting an easier to remember .co.uk name... but here's the thing I'm not sure about.

currently the site is on a subdirectory of my current domain, I know I can set-up the name servers to point to that same place, but will I be able to point it to that subdirectory? so instead of:

www.xafiers-home.com/sheffsingles

it'll point to:

www.sheffieldsingles.co.uk ?

oh and yes, I know that sheffieldsingles.co.uk is taken ;) but I have another name lined up my sleeve I just aint going to mention it cus if I do it'll get taken most likely... lol

xafier
25-03-2005, 07:59
my web host says it will point to the same place so I'd still have to use the sub-directory... but he says that it might be possible to re-direct the users depending on what site they were looking for by using some code in a .htaccess file, but he's unsure of the exact code.

So if anyone knows, let me know ;) I'm just about to register a new domain!

Glasstop
31-03-2005, 12:51
So all the files for the website are at the address below. In the folder sheffsingles.

www.xafiers-home.com/sheffsingles

They way we would suggest to do it is by putting an index.htm page on the space for www.sheffieldsingles.co.uk then making it refresh and forward all users onto that long address.

Or we would use a rewrite rule within httpd.conf so that when a user types the small address in they automatically get sent to the folder with the long address the same way we do for a customer that has about 10 different domain names all pointing to the same website.

.htaccess is another possibility but I would go for the other two first options first

Hope that helps just ask your host I am sure they can sort it.

Steven-b
www.glasstop.net

xafier
31-03-2005, 13:50
thanks, but I've sorted the problem :) my host just set me up on the reseller section with ensim which is what they use to control sites... so I just set-up the DNS with the new domain and everything on a different section... its all working smoothly now :)

and just set a .htaccess 301 redirect in the old directory just incase people or search engines go to the old address :)

the guy who runs my hosting is ace :) no offence to your company of course, but he's a lot cheaper when it comes to bandwidth costs, probably because they're based in the US and its cheaper there?

Hook
31-03-2005, 14:49
Originally posted by xafier
thanks, but I've sorted the problem :) my host just set me up on the reseller section with ensim which is what they use to control sites... so I just set-up the DNS with the new domain and everything on a different section... its all working smoothly now :)

and just set a .htaccess 301 redirect in the old directory just incase people or search engines go to the old address :)

the guy who runs my hosting is ace :) no offence to your company of course, but he's a lot cheaper when it comes to bandwidth costs, probably because they're based in the US and its cheaper there?

I've got a dirt cheap dedicated server in the US. I have to update the server and manage it myself, as well as update all the DNS and stuff. It costs me $149 a month, for a 240gb server, with a fast enough processor and enough RAM to cope with a website that gets several million hits a month. In the UK it would cost a fortune, I get unmetered bandwidth included in that price too!

Which reminds me, I need to address your PM, but I'm off on holiday in a few hours >_<