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.

You could put a link back to the main site on your court scheduler site. That might help alleviate the problem of getting lost.

You could also put a page on your main site that loads the scheduler site in an iframe. I’ve used something like this in the past:


<html>
<head>


<style type="text/css"> 
    html{
        height:100%;
    }
    body{
        margin:0; 
        height:100%; 
        overflow:hidden;     
    }
    .backbar { 
        padding: 14px 12px; 
        background-color:yellow;
    }
</style>




<body>


<table cellpadding=0 cellspacing=0 height="100%" width="100%">
    <tr height="1%">
        <td class="backbar" style="top:0; width:100%"><a href="#">&laquo; Back to the Main Site</a></td>
    </td>
    <tr>
        <td style="height:100%;">
            <iframe scrolling="auto" src="http://example.org" frameborder="0" style="width:100%; height:100%"></iframe>
        </td>
    </tr>
</table>


</body>
</html>

Probably an iframe is the best way to do what you want although I guess my approach is different, though.

Yes, I’m sure that some people will bypass the main site if they know the url but then… if your website is not full of ads and you have interesting, quality info that you refresh often, they will come back :slight_smile: