FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Web Hosting and Domains » FAQ's / Tutorials.

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 03-06-07, 11:22 PM
Cassie's Avatar
Premium Member
 
Join Date: May 2007
Location: Cambridgeshire
Posts: 359
Default 301 domain redirections

I am struggling with this.

I have a new domain (thanks to over 30 posts :p ) but can't get it to redirect to where I want it too.

Not sure if we are allowed to put domains on here so will use mydomain.

Anyway - the domain is mydomain.info It is hosted on here as a sub domain under otherdomain.co.uk I want to point it to a folder (forum) within there.

So I thought the redirection should be mydomain.otherdomain.co.uk/forum/index.php
But that doesn't work - 403 forbidden

So I tried mydomain.info/forum/index.php and that didn't work.

I have tried lots of different ones so I am obviously just not getting this at all. Not the sort of thing I am used to doing.

I need the mydomain to stay in the URL window - any help would be appreciated - have checked the help but it didn't help - cant get on chat live and already have lots of tickets in support so don't want to bother them again.
Reply With Quote

  #2 (permalink)  
Old 04-06-07, 10:10 AM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

Hi Cassie, not sure if I understand but once you setup a subdomain, you drop the www from the front of the url i.e: as opposed to If the redirect isn't working, try creating a .htaccess file for redirection.

Open notepad, or similar

Type :

redirect 301 http://www.mynewdomain.com /forum/

(where forum is path to forum...usually /forum/)

Make sure you save file as *all files, and call it .htaccess
Upload it to the root of your website. Also notice the space between the mynewdomain address and the forum redirect

The above will seemlessly direct any visitors who click on your new domain name to the forum

Note: if you already have a .htaccess file in the root of your site, simply edit it and add the line above to the bottom of it.


Sorry if this is not what you were asking

Last edited by jon123; 04-06-07 at 10:14 AM.
Reply With Quote

  #3 (permalink)  
Old 04-06-07, 03:12 PM
Cassie's Avatar
Premium Member
 
Join Date: May 2007
Location: Cambridgeshire
Posts: 359
Default

I think that is what I wanted to do but it's not working. when I create the file I get an internal server error instead of the 403 forbidden error.

I think I might just change the index.html page to a sort of splash page or perhaps do away with the forum folder and put the files from that folder in the main site.

Last edited by Cassie; 04-06-07 at 03:33 PM.
Reply With Quote

  #4 (permalink)  
Old 04-06-07, 03:32 PM
Cassie's Avatar
Premium Member
 
Join Date: May 2007
Location: Cambridgeshire
Posts: 359
Default

I was just thinking - I could use <META HTTP-EQUIV="refresh" content="0.001;URL=http://www.mydomain.info/forum/index.php"> and put it in the index.html page.

I have used this before but does it work with all browsers?

Is there a better way?
Reply With Quote

  #5 (permalink)  
Old 04-06-07, 04:03 PM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

It doesn't work on all browsers but does on the latest.
The best way is the .htaccess file, The 500 error is caused by either the path does not exist or incorrect, but can also be caused by server config.

Meta redirect will be ok though.
Reply With Quote

  #6 (permalink)  
Old 04-06-07, 06:39 PM
Cassie's Avatar
Premium Member
 
Join Date: May 2007
Location: Cambridgeshire
Posts: 359
Default

I've just thought though - with META TAG the destination URL will be replaced and I don't really want that.

I wonder why the redirection thingy isn't working in cpanel? I must just be using the wrong path. Would it help if I put the actual names etc on here or pm'ed you if that isn't allowed?

It's not the only thing that isn't working for me in cpanel - I also have problems with filters and, as said before, live chat.
Reply With Quote

  #7 (permalink)  
Old 04-06-07, 10:04 PM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

You can pm my Cassie if you prefer, but I can't see any reason why you couldn't post the true urls on here. But upto you
Reply With Quote

  #8 (permalink)  
Old 05-06-07, 12:10 AM
Administrator
 
Join Date: Mar 2006
Posts: 1,934
Default

Quote:
Originally Posted by jon123 View Post
You can pm my Cassie
lol. that was a good typo
__________________
Web Hosting UK - ASP MSSQL Hosting - cPanel Linux Hosting
AIM : webredback || msn : andrew @ webhosting.uk.com
Toll Free : 0808 262 0855
Reply With Quote

  #9 (permalink)  
Old 05-06-07, 05:51 PM
Cassie's Avatar
Premium Member
 
Join Date: May 2007
Location: Cambridgeshire
Posts: 359
Default

I don't post my website for a couple of reasons. Personally I don't like posts where people are just posting their site to get hits - so I don't do it.

Secondly - I am an amateur web designer - self taught - and know that my site is not exactly pretty or up to date in design. Therefore I have never put it in the "review my site" section as I really can't take criticism. I guess I think that if I post my URL here someone nasty might try and 'guide' me - especially as I use frames and not everyone likes them. :eek: I like my sites, they are quick & easy to navigate and they serve their purpose - making money, but I am not secure enough to let others 'review'.

I have pm'ed you Jon123 and eagerly await any help you can give. :p
Reply With Quote

  #10 (permalink)  
Old 05-06-07, 07:33 PM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

replied,
and it was a typo
Reply With Quote

  #11 (permalink)  
Old 06-06-07, 04:58 PM
Cassie's Avatar
Premium Member
 
Join Date: May 2007
Location: Cambridgeshire
Posts: 359
Default

Sorry Jon123 I have tried everything. It is a add-on domain but no combination of words seems to work.

I really don't see why this is such a problem. I have many domains with 123REG and although I can't stand the company because they never email you back, the redirects are simple. It is called frame redirection in there and works ok most of the time. You just say you want knitting-forum.info to point to craftbits.co.uk/knitting-forum/knit-forum/index.php - simple as that. Why oh Why won't it work in cpanel.

Tech Support have actually reverted me back to the old version of cpanel because email filters were not working so there are obviously some problems.

Yes Jon123 I have put my domains in this post - your words about my site were so nice :p - hope no-one else is nasty

Last edited by Cassie; 06-06-07 at 05:02 PM.
Reply With Quote

  #12 (permalink)  
Old 06-06-07, 09:13 PM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

It is strange.

With that forum being empty, would you not be able to move it to the .info directory?
I know your redirect should work, and so should a .htaccess file. Maybe the cpanel downgrade will sort your problem
Reply With Quote

  #13 (permalink)  
Old 08-06-07, 07:51 PM
Cassie's Avatar
Premium Member
 
Join Date: May 2007
Location: Cambridgeshire
Posts: 359
Default

I got the following answer from Tech Support - can anyone translate it into plain english please.

The problem you are facing with the Addon domain is because cPanel does not create Add on domains in folder/folder. The Add on domain can only be created in a folder which is immediately under the public_html folder. The Add on domain functions on the sub domain system and the website is located at the sub domain's location, it is the server configuration that shows the website at the URL itself instead of the sub domain URL. So you can only create the Add on domain to point to a folder that is exactly under public_html folder. If you want it to be set up that way, we can forward it manually from the server but that may not be done through the cPanel.

I am very new at cpanel so really need a step by step details of how to do whatever they are asking above.
Reply With Quote

  #14 (permalink)  
Old 09-06-07, 07:08 PM
Cassie's Avatar
Premium Member
 
Join Date: May 2007
Location: Cambridgeshire
Posts: 359
Default

Tech support have changed the forwarding for me but that didn't really answer my question. I have other sites I need to do this for so need to know how to do it myself.

Also it is not showing the URL in the window - it is showing the actual file name which is not what I wanted. When I told tech sup that I got the following which AGAIN I really cannot make head nor tail of. Can someone PLEASE put this into plain English for me.

"I would like to inform you that the current Add on domain setup that you have made in the cPanel for the domain knitting-forum.info will not allow frame forwarding for the added domains. If you want to set up addon domains to point to their respective folders directly so that the URL remains of the domain it self, you will have to note :

Suppose you want to set up ad Add on domain knitting-forum.info, when you add it in the cPanel, it will create a folder knitting-forum under the public_html folder and all the web files of this domain should be uploaded to this folder, if this is followed, there is nothing else you need to do, the domain will call the website from its respective folder.

You should not upload the website files to a sub folder inside the Add on domain's folder."
Reply With Quote

  #15 (permalink)  
Old 13-06-07, 02:04 PM
Cassie's Avatar
Premium Member
 
Join Date: May 2007
Location: Cambridgeshire
Posts: 359
Default

Just a quick update on this issue for anyone with a similar problem.

The latest is that this type of thing cannot be done through cpanel but can be done through other control panels. They have set it up for me and it seemed to work OK until I went into my admin panel on the forum. Then I just kept getting error pages. There were also occasions on the main customer forum which were getting errors so I just asked them to remove all forwarding - the site now works OK but not with the redirected url.

I will therefore probably be moving the domain elsewhere as all the other hosters I have had (and there have been a few) this is not a problem for them.
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 12:13 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials