Welcome to Dream.In.Code
Become an Expert!

Join 149,884 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,306 people online right now. Registration is fast and FREE... Join Now!




Hiding Urls

 
Reply to this topicStart new topic

Hiding Urls

iamcenz
15 Feb, 2005 - 12:33 PM
Post #1

You wish you were my hand!
Group Icon

Joined: 26 Mar, 2001
Posts: 2,385


Dream Kudos: 201
My Contributions
ok so here is my problem, client of mine is using a service that we supply, he bought a user license onto ours, which means he is an admin user on our lisenced copy of the software cause he didnt want to pay for the full thing, which is fine. but he has to link to our site to use it. he doesnt want his clients seeing out domain. right now it links to something like this www.ourdomain.com/hissubdir/support/
he wants it to look like this www.hisdomain.com/support/
with out accually buying the full lisence. possible?
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: Hiding Urls
15 Feb, 2005 - 12:35 PM
Post #2

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 15,267



Thanked: 61 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
If your web host supports domain aliases (which most do) you can add a domain alias and just reference his domain...
User is online!Profile CardPM
+Quote Post

iamcenz
RE: Hiding Urls
15 Feb, 2005 - 12:46 PM
Post #3

You wish you were my hand!
Group Icon

Joined: 26 Mar, 2001
Posts: 2,385


Dream Kudos: 201
My Contributions
the company he is on is accually using the same cp as mg1, so he can do it. i just dont know how...
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: Hiding Urls
15 Feb, 2005 - 12:53 PM
Post #4

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 15,267



Thanked: 61 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
the web host can do it by editing the site from the admin CP.
User is online!Profile CardPM
+Quote Post

iamcenz
RE: Hiding Urls
15 Feb, 2005 - 01:03 PM
Post #5

You wish you were my hand!
Group Icon

Joined: 26 Mar, 2001
Posts: 2,385


Dream Kudos: 201
My Contributions
yeah thats my job. my companies leases the server that its hosted on. how would i go about doing this. i see when i am in as the main admin and i go to configure his site (when its the list of all the sites on the server and click the little pencil next to his domain) it says domain alias. now what do i do? do i put the address i dont want to come up in there? like www.ourdomain.com/hissubdir/support/?
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: Hiding Urls
15 Feb, 2005 - 01:04 PM
Post #6

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 15,267



Thanked: 61 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
You'll just put the domain

hisdomain.com

now, the bad thing is he can type in hisdomain.com and get to your site, but he can also do hisdomain.com/hissubdir/support and it'll work too... it's a toss up.
User is online!Profile CardPM
+Quote Post

iamcenz
RE: Hiding Urls
15 Feb, 2005 - 01:06 PM
Post #7

You wish you were my hand!
Group Icon

Joined: 26 Mar, 2001
Posts: 2,385


Dream Kudos: 201
My Contributions
interesting... so if someone types his domain in, they could possibly wind up at our site? so is it really worth it then?
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: Hiding Urls
15 Feb, 2005 - 01:09 PM
Post #8

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 15,267



Thanked: 61 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
well, you could do that and then put a .htaccess file on the areas you wouldn't want people?!

I'm sure there is another way to do it, just not sure how sad.gif
User is online!Profile CardPM
+Quote Post

iamcenz
RE: Hiding Urls
15 Feb, 2005 - 01:10 PM
Post #9

You wish you were my hand!
Group Icon

Joined: 26 Mar, 2001
Posts: 2,385


Dream Kudos: 201
My Contributions
alright, ill do more research.
User is offlineProfile CardPM
+Quote Post

mstyle
RE: Hiding Urls
18 Feb, 2005 - 01:31 PM
Post #10

New D.I.C Head
*

Joined: 25 Oct, 2004
Posts: 16

Why not do it the way easy way. The solutions is see here are way over complicated for the matter.

Simply create an index.htm file in the subfolder on the clients hostingspace and make that file call a drame which is the url to the program he has licensed.

so :

index.html

<html>
<head>
<title>Client name - pagename</title>
</head>
<frameset rows="*" border="0">
<frame name="top" src="-- put the url to the original file here --" scrolling="auto" noresize>
</frameset>

<noframes>
<body>
<center>
<p>this page uses frames, but your browser doesn't support them.</center>
</body>
</noframes>
</html>


And that's it.
The client will see something like www.clientname.com/subfolder/
in the adressbar and the page called will be the page you are providing.
And if he just knows some basics of the web changes are he thinks you're great and won't notice how this is set up. This is pure a psychological thing to him as i hear it.

This post has been edited by mstyle: 18 Feb, 2005 - 01:32 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 12:08PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month