473,396 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Branding a site

Hi There
I want to create an asp.net application that other companies can brand. So for example a customer would put a link to my site on their web page, my site would then have to know where the user came from and then brand the site so that it looks like my site is actually an extension of my customers own site. How can I do this? If each of my customers registered their own domain name that pointed to my server could I tell what domain name a user used to get to my site? Thanks in advance.
Nov 18 '05 #1
7 1337
You could use the Request.RawURL method.
Here's more info:
http://msdn.microsoft.com/library/de...awurltopic.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Charlie Dison" <ch****************@vitalworks.com> wrote in message
news:D4**********************************@microsof t.com...
Hi There,
I want to create an asp.net application that other companies can

brand. So for example a customer would put a link to my site on their web
page, my site would then have to know where the user came from and then
brand the site so that it looks like my site is actually an extension of my
customers own site. How can I do this? If each of my customers registered
their own domain name that pointed to my server could I tell what domain
name a user used to get to my site? Thanks in advance.
Nov 18 '05 #2
have them pass their site id in the link.

<a href=http://yoursite.com?mysiteid=sqlwork>go to branded site<a>

-- bruce (sqlwork.com)

"Charlie Dison" <ch****************@vitalworks.com> wrote in message
news:D4**********************************@microsof t.com...
Hi There,
I want to create an asp.net application that other companies can

brand. So for example a customer would put a link to my site on their web
page, my site would then have to know where the user came from and then
brand the site so that it looks like my site is actually an extension of my
customers own site. How can I do this? If each of my customers registered
their own domain name that pointed to my server could I tell what domain
name a user used to get to my site? Thanks in advance.
Nov 18 '05 #3
Thanks for the response Bruce

I'm sure this approach would be fool prof. What if the user later keys in the url without the parameter.
Nov 18 '05 #4
Thanks for the link. Is there a way to specify a customer id when registering a domain name on the internet? I assume that when I register a domain I specify what ip address the domain resolves to. Can I specify a customer Id in there as well

For example: I setup my domain registration www.greatsite.com to resolve to x.x.x.x/customer
and www.anothersite.com to x.x.x.x/customer

In this way regardless of how the site gets bookmarked I will always have the customer id when a user returns to that domain.
Nov 18 '05 #5
Hi Charlie,

In addition to Steve's suggestion on "RawUrl", I think the UrlReWrite
feature of the ASP.NET is also helpful.
Here are some tech articles and reference on it:

#URL Rewriting in ASP.NET
http://msdn.microsoft.com/library/en...ng.asp?frame=t
rue#urlrewriting_topic2

#URL Rewriting with ASP.NET
http://www.codeproject.com/aspnet/URLRewriter.asp

#Personal .NET Portal
http://www.codeproject.com/aspnet/As...talArticle.asp

Also, I think you can search in the newsgroup for some former threads which
discussing on the similar problem. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #6
Thank You. This will be helpful.
Nov 18 '05 #7
Yes you can set up your registration that way.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Charlie Dison" <ch****************@vitalworks.com> wrote in message
news:F9**********************************@microsof t.com...
Thanks for the link. Is there a way to specify a customer id when registering a domain name on the internet? I assume that when I register a
domain I specify what ip address the domain resolves to. Can I specify a
customer Id in there as well?
For example: I setup my domain registration www.greatsite.com to resolve to x.x.x.x/customer1 and www.anothersite.com to x.x.x.x/customer2

In this way regardless of how the site gets bookmarked I will always have

the customer id when a user returns to that domain.
Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: kevininstructor | last post by:
I created two classes called "site" and "Sites" which use 'BinaryFormatter' to load and save class information to a disk file. In my test application all works fine but when implementing into...
7
by: Charlie Dison | last post by:
Hi There I want to create an asp.net application that other companies can brand. So for example a customer would put a link to my site on their web page, my site would then have to know where the...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
0
by: HackingPSP | last post by:
I saw a lot of requests for a program like this, so I wrote it. Yeah, my site has "PSP software by Auri" but in this case it means "Pretty Sweet Programming" :) There's both a VS2005 add-in and a...
1
by: Knoxy | last post by:
Hi folks, Just a quick post to see if anyone had any thoughts on branding a website for completely different website designs. I have a site at the minute that gets installed with another...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
3
by: DBLWizard | last post by:
Howdy All, Is it possible to have Visual Studio 2005 create a project form an existing hosted website? In other words I want to be able connect via ftp to my website structure and have it pull...
16
by: Ben Sehara | last post by:
Is there any way I can limit the access to my website? I have a site "A" and I want to allow access to it only from site "B" login user. If someone try to access site "A" directory, I want it...
3
by: John Kotuby | last post by:
Hi all, Within an IFRAME of a standard site constructed of mostly static HTM type pages, I am calling up one page from a large ASP.NET 3.5 site. I have precompiled the ASP.NET site and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.