Jump to content
Sign in to follow this  
Singer

Subdomain name translating to directory

Recommended Posts

I've run into an issue others have mentioned recently, but things have eventually worked for them.

 

I created a subdomain using CPanel, letting CPanel create the subdomain directory and association. I didn't do anything further (following the instructions from other people's posts).

 

When I specify the subdomain (http://trial.coachdana.com) in a browser, it is getting translated to www.coachdana.com.

 

I wonder what I may be doing differently. Any thoughts?

 

Thanks.

Share this post


Link to post
Share on other sites

You have a redirect setup, remove it.

 

><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://www.coachdana.com/index.php">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.29 Server at trial.coachdana.com Port 80</ADDRESS>
</BODY></HTML>

Share this post


Link to post
Share on other sites

Hmmm...curious...I don't know where that's from. As I said earlier, I didn't set up any redirection when I created the trial subdomain.

 

However, I now went into CPanel's subdomain page and selected the "Remove subdirection" item. Still the same thing. I checked the .htaccess files in both the public_html and trial directories; no evidence of a redirection related to "trial" in either one.

 

BTW, how did you manage to see that 301 page?

Share this post


Link to post
Share on other sites

I use this program IP-Tools

 

Here is what it shows

 

>Requesting [URL=http://trial.coachdana.com]http://trial.coachdana.com[/URL] .. Ok
Reply received (reply time: 141 ms)
-----------------------------------
HTTP/1.1 301 Moved Permanently
Date: Sat, 03 Jan 2004 19:28:01 GMT
Server: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.2 PHP/4.3.3 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a
Location: [URL=http://www.coachdana.com/index.php]http://www.coachdana.com/index.php[/URL]
Connection: close
Content-Type: text/html; charset=iso-8859-1


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://www.coachdana.com/index.php">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.29 Server at trial.coachdana.com Port 80</ADDRESS>
</BODY></HTML>

Edited by TCH-Dick

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...