User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 375,238 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,123 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser:
Views: 675 | Replies: 2
Reply
Join Date: Jan 2008
Posts: 1
Reputation: Perfectdarke is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Perfectdarke Perfectdarke is offline Offline
Newbie Poster

Domain usabilty problem

  #1  
Jan 15th, 2008
Hi, I have a problem with my domain. Ok I have my original site (call it mainsite .co.uk) and a second site (call this secondsite .co.uk). All the files for second site are stored in a subdomain of the mainsite.

When people access the site using a straight forward domain (www.secondsite .co.uk) everything is fine, when they access a folder with a forwardslash on the end (www.secondsite .co.uk/folder/) everything is fine.

BUT when they access a folder without a forwardslash (www.secondsite .co.uk/folder) then they get redirected to the subdomain www.secondsites.mainsite .co.uk/folder/

This is the subfolder in which the site is stored....

Now is the problem because the domain is redirecting to a subdomain or something else?

Thanks in advance!!
Last edited by Perfectdarke : Jan 15th, 2008 at 5:15 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2007
Posts: 158
Reputation: macneato is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 11
macneato's Avatar
macneato macneato is offline Offline
Junior Poster

Re: Domain usabilty problem

  #2  
Jan 15th, 2008
Its probably something wrong with the 'htaccess.txt' or the 'httpd.conf'. Check the files out. If you don't have access to them or don't know what you doing, send an email to your host and they should solve it for you within the a couple of hours
Reply With Quote  
Join Date: Feb 2008
Location: Malmesbury
Posts: 2
Reputation: Aldhelm is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Aldhelm's Avatar
Aldhelm Aldhelm is offline Offline
Newbie Poster

Re: Domain usabilty problem

  #3  
Feb 25th, 2008
When you buy your domain you have to get it pointed to your web space and it is usually pointed to a file called index.php or something similar in the root. I think you need to point your second domain to another index file in the folder for your second site which is also in the root of your web space where the first site is. You can usually do this yourself if you have a control panel to access your web space.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Site Layout and Usability Marketplace
Thread Tools Display Modes

Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 4:26 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC