dcsimg
www.webdeveloper.com
Results 1 to 8 of 8

Thread: Hide a domain

  1. #1
    Join Date
    Feb 2014
    Posts
    1

    Hide a domain

    I have created a new tennis site for our neighborhood which has its own domain which all of our tennis related information is on it. We also have another url that will take the residents of our neighborhood to the court scheduler where they can reserve courts. This will defeat the purpose of having our own domain, because once the residents know the url for the court scheduler they will just bypass our main site and go directly to the court scheduler. We want our residents to have to go our main site first.

    Is there any way to hide the court scheduler domain?

    Any ideas or suggestions would be greatly appreciated.

    Thank you.

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,616
    Not foolproof (anyone curious enough to look at the page source could figure it out -- but that won't apply to at least 99% of your users), but you could embed it in an iframe element within your page. Just style it nicely so that it doesn't "look" like an iframe.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,500
    You could as NogDog suggests use an iframe.

    You could also use PHP and a session cookie that if not set redirects the court scheduler to the main site.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  4. #4
    Join Date
    Mar 2012
    Posts
    1,814
    My suggestion is: it sounds like you are seeking a technical solution for a content problem. Why should someone merely wishing to book a court have to wade through the, presumably, turgid parent site first? I say "turgid" because, if it was worth reading, would you have a problem in the first place? Besides which, what is wrong with direct access to booking courts??? People have busy lives. They do not have the time to admire your handwork every time they just want to book a court!!!

  5. #5
    Join Date
    Feb 2014
    Location
    Managua, Nicaragua
    Posts
    45
    Other thing is try to encode the url of the 'court scheduler'... So if someone finds it, will not know which is the original url...

    hope to be hopeful

  6. #6
    Join Date
    Oct 2013
    Posts
    79
    Depends on which plugin you're using to map domains.

  7. #7
    Join Date
    Sep 2011
    Posts
    5
    There are many sites like godaddy,bigrock which allows hiding the domain with allowing domain mapping option on site using which you can do your task.

  8. #8
    Join Date
    Feb 2014
    Location
    England
    Posts
    52
    You can either iframe the page inside another page.
    Create a popup which hides the address bar (the url will still be viewable in the status bar).

    Or give people a reason to visit the main site first.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles