How to personalized different parts of my website using vanity sub-domain
name url.
example: my domain name is www.mydomain.com.
I would like the vanity url to be myname.mydomain .com, and personalize the
current page from the database using that vanity url
('myname.mydoma in.com'). 3 1814
>How to personalized different parts of my website using vanity sub-domain name url.
example: my domain name is www.mydomain.com. I would like the vanity url to be myname.mydomain .com, and personalize the current page from the database using that vanity url ('myname.mydom ain.com').
You do realise that this is more complex than the standard vanity URL
concept that ASP.NET can do? You are now dealing with different domain
names, so your server would have to be set up so that every domain
ending in mydomain.com went to your site. If you intend making up names
as you go along (as opposed to having to reconfigure IIS every time),
then you will have to make this site the default site for the whole
machine.
Once you have the domain stuff figured, then I guess the rest will be
the same as any case of URL rewriting. You will be checking the domain
rather than just the URL, but the principle is the same.
HTH
--
Alan Silver
(anything added below this line is nothing to do with me)
Ok that seems harder than I thought, but what if I use the standard vanity
url way
like the following?
the user types in the url myname.domain.c om
the web application rewrite the url to www.domain.com/default.aspx?username=myname
will this work? if so how?
"Alan Silver" <al*********@no spam.thanx> wrote in message
news:i4******** ******@nospamth ankyou.spam... How to personalized different parts of my website using vanity sub-domain name url.
example: my domain name is www.mydomain.com. I would like the vanity url to be myname.mydomain .com, and personalize the current page from the database using that vanity url ('myname.mydo main.com').
You do realise that this is more complex than the standard vanity URL concept that ASP.NET can do? You are now dealing with different domain names, so your server would have to be set up so that every domain ending in mydomain.com went to your site. If you intend making up names as you go along (as opposed to having to reconfigure IIS every time), then you will have to make this site the default site for the whole machine.
Once you have the domain stuff figured, then I guess the rest will be the same as any case of URL rewriting. You will be checking the domain rather than just the URL, but the principle is the same.
HTH
-- Alan Silver (anything added below this line is nothing to do with me)
>Ok that seems harder than I thought, but what if I use the standard vanity url way like the following? the user types in the url myname.domain.c om
As soon as you start doing anything with the bit before mydomain.com,
you run into DNS issues as described below. These are not
insurmountable, depending on your server set up, but have to be
considered.
If you want to have vanity URLs and don't want to have to consider the
DNS, then stick with www.mydomain.com and add the vanity bit afterwards,
eg www.mydomain.com/people/alan.silver
HTH
the web application rewrite the url to www.domain.com/default.aspx?username=myname will this work? if so how?
"Alan Silver" <al*********@no spam.thanx> wrote in message news:i4******* *******@nospamt hankyou.spam... >How to personalized different parts of my website using vanity sub-domain name url.
example: my domain name is www.mydomain.com. I would like the vanity url to be myname.mydomain .com, and personalize the current page from the database using that vanity url ('myname.myd omain.com').
You do realise that this is more complex than the standard vanity URL concept that ASP.NET can do? You are now dealing with different domain names, so your server would have to be set up so that every domain ending in mydomain.com went to your site. If you intend making up names as you go along (as opposed to having to reconfigure IIS every time), then you will have to make this site the default site for the whole machine.
Once you have the domain stuff figured, then I guess the rest will be the same as any case of URL rewriting. You will be checking the domain rather than just the URL, but the principle is the same.
HTH
-- Alan Silver (anything added below this line is nothing to do with me)
--
Alan Silver
(anything added below this line is nothing to do with me) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stevey |
last post by:
I have the following XML file...
<?xml version="1.0"?>
<animals>
<animal>
<name>Tiger</name>
<questions>
<question index="0">true</question>
<question index="1">true</question>
</questions>
|
by: nospam |
last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types,
so, since it seems to me that Partial Types is still in the design or
development stages at Microsoft, I am going to ask it differently.
FOUR QUESTIONS:
The background:
I got three (3) files
|
by: Ekqvist Marko |
last post by:
Hi,
I have one Access database table including questions and answers. Now
I need to give answer id automatically to questionID column. But I
don't know how it is best (fastest) to do?
table before
rowID answID qryrow questionID datafield
1591 12 06e 06e 06e question
1593 12 06f 06f 06f question
1594 12 answer to the question 06f
|
by: Showjumper |
last post by:
How would i go about making vanity urls such that its really the same url
for everyone but that it just appears different based on who logs in.
|
by: Stimp |
last post by:
I know how to create vanity urls for users when they append a .aspx
to their name, but is it possible to pick up their name alone
(without affixing .aspx?)
e.g.
in the global.asax file I can map the following url:
www.mysite.com/someuser.aspx
to www.mysite.com/users.aspx?userid=someuser
| |
by: Eric Lemmon |
last post by:
Greetings,
I wrote code to handle vanity URLs, so--for example--the URL
http://localhost/myApp/bsmith.aspx is internally translated to
http://localhost/myApp/Support/UserPage.aspx?user=bsmith.
The problem is that whenever I access the vanity URL,
http://localhost/myApp/bsmith.aspx, the page shows without any CSS
styles...quite ugly. However, when I get to the page directly using its
actual address,...
|
by: Stimp |
last post by:
sorry I have to repost this question since I can't find the
replies (if any) to a question I posted two days ago
(what's the post turn-around for this group btw, every 2 days
they delete all posts in cache or something?)
If a browser to my site enters:
http://www.website.com/user/123
I want this to automatically redirect to:
http://www.website.com/index.aspx?myuserid=123.
|
by: glenn |
last post by:
I am use to programming in php and the way session and post vars are past
from fields on one page through to the post page automatically where I can
get to their values easily to write to a database or continue to process on
to the next page.
I am now trying to learn ASP to see if we can replace some of our
applications that were written in php with an ASP alternative. However,
after doing many searches on google and reading a couple...
|
by: Rider |
last post by:
Hi, simple(?) question about asp.net configuration..
I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm
first start application the follow message shown.
=========
Server Error in '/QuickStartv20' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |