Results 1 to 3 of 3

Thread: Hiding main domain when somebody accesses subdomain

  1. #1
    Join Date
    Sep 2012
    Posts
    27
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Hiding main domain when somebody accesses subdomain

    I have a subdomain hosted on my website. When somebody navigates to the subdomain, the browser status bars will show the main site's address.

    For example, say mysub.com is a subdomain on mymainsite.com. When somebody types in mysub.com, various status messages, such as resolving, connecting, transferring, will show mysub.mymainsite.com.

    Is there any way to prevent browsers showing the mymainsite.com part?

    Thanks in advance

  2. #2
    Join Date
    Mar 2010
    Location
    Florida
    Posts
    512
    Thanks
    9
    Thanked 61 Times in 59 Posts

    Default

    That is 100% impossible.
    I will say it this way. Your website isn't mysub.com (unless you have bought the domain name).
    -DW [Deadweight]
    Resolving your thread: First Post: => EDIT => Lower right: => GO ADVANCED => Top Advance Editor drop down: => PREFIX:Resolved

  3. The Following User Says Thank You to Deadweight For This Useful Post:

    wkennyspain (01-24-2015)

  4. #3
    Join Date
    Sep 2012
    Posts
    27
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    I should have specified that I own the subdomain name as well as the main domain name. I am just using the same hosting account for both, and had to set up the second domain as a subdomain or addon domain of the main one.

    When I tried typing in the subdomain on a different computer, the main site did not show in status messages, so I deleted my browser cache on my own machine, and that solved the problem.

Similar Threads

  1. Malfunction on subdomain
    By Mister Micawber in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-11-2010, 05:22 AM
  2. Subdomain in Ajax Includes Script
    By martib in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 07-24-2010, 02:18 AM
  3. seo links on subdomain
    By orhun in forum Other
    Replies: 2
    Last Post: 12-13-2009, 02:45 PM
  4. Subdomain making
    By pankajt in forum Looking for such a script or service
    Replies: 3
    Last Post: 09-25-2008, 04:51 AM
  5. Rewrite for subdomain
    By martinf in forum Other
    Replies: 1
    Last Post: 03-07-2007, 07:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •