Have Multiple Website With One URL?
Aug 3, 2010
I have 2 web projects, with one URL:www.theurl.com, which is directed to the ISA server, behind this server have a web server, (windows 2003).
I have a Default web site, and another web site which I want to add. (website2). when the user click the url,directly goes to my first web site, how can I have forexapmle: www.theurl.com/website2 and how sould I configure the IIS without using another port? I am using port:80
View 1 Replies
Similar Messages:
Sep 30, 2010
I need to deploy a website from the SVN to different servers all within our own network. The code is currently not complied but probably will be in the future.
First the site would need to be deployed to the development server for the developers to test.
Once the Developer signs off it would be deployed to the staging server for the testers.
Once final sign off was given it would be deployed to a server farm, two live servers.
Each server has a couple of settings in the web.config to that are different; expect the two live server of course. I would like to use templates, the way the Ruby on Rails world does, seems like an elegant solution to multiple web.config files.
I also need to create a list/report of the files that were changed and what the change was since the last deployment.
I thinking of writing a script that will do the following
1. Take args for server to deploy to, and revision
2. Export a copy of the source to a directory with svn export -r <deploy revision>
3. Delete the web.config file
4. Use ttree (a template tool [URL]) to create the correct web.config
5. Create a list of file changes with svn list -r <deploy revision>:<current server revision>
6. Stores the <current server revision> of the website for when the script is run next time
I prefer to use tools that are already available rather than re-invent the wheel. Unfortunately I don't think MSDeploy will do what I need, but I'm happy to use it, or anything else, if it will do what I need it to. Does anyone know of any tools that are up to the task or is the script my only option?
View 1 Replies
Mar 4, 2010
My website Language is English,But i want abutton when i clicked on it,The Site Converted
To Arabic Language
View 5 Replies
Jan 25, 2011
I have a question concerning website structure. I have a website which will be an intranet site. On this site I will have a main page that has links to different apps that will reside in this site. I want to separate the apps in their own folders.My question is do I just create a folder for each one or do I create a new webpage within the main webpage for each one? The reason I am asking is I use three layer model and my object data classes and db classes need to reside in App_Code folder. Do I put all these from every app in the one folder(on the main page) or if I create a site within a site can each have it's own App_Code folder. Also if I create the site within a site will I be able to redirect to different pages just by relative URLS(../cashmanagement) and everything work OK.I am pretty new to ASP and this is my first site with mutiple programs.
View 3 Replies
Aug 11, 2010
Does anybody know if its possible to have your website run on multiple separate application poolsSome BackgroundI am looking into start a shopping center style site. I intend to set up100 folders, each folder on the site will be treated as a separate site.http://www.MyShoppingCentre/JohnsMenswear
http://www.MyShoppingCentre/GerrysGardeningCenterI would like to have JohnMenswear running in a separate application poolto GerrysGardeningCenter even though they are both webpages under MyShoppingCentre
View 1 Replies
Mar 5, 2010
want to download the individual files from weburl. There are images listed on the website along with the check box for each image. User can select one or more images by checking the checkbox. When user click on Download button it should start downloading the files sequentially one after the other. File size is between 20mb to 200mb each.
View 4 Replies
Oct 10, 2010
Consider that I want to create 10 websites in IIS, each of them pointing to the same website on local hard drive, each one running the same code, but on different subdomain.subdomain1.domain.com, subdomain2.domain.com, ..., subdomain10.domain.comHow can I add multiple connection strings in my web.config file and bind each connection string to a different subdomain ?I want to do this because every website will have a different database with different data.
View 2 Replies
Jun 22, 2010
I am having some trouble adding an extra sitemap to my website. I have the main sitemap for the general navigation of the whole site, but would like to add a new sitemap for the navigation in the community area once people have logged in.
In the web config file I have tried both:
<siteMap defaultProvider="AspNetXmlSiteMapProvider">
<providers>
<add siteMapFile="Community.sitemap" name="CommunitySiteMapProvider"
type="System.Web.XmlSiteMapProvider" />
</providers>
</siteMap>
[Code]....
However the menu that shows is the default Web.sitemap
View 2 Replies
Mar 23, 2011
Until now, I've always used straightforward Forms Authentication on my community websites, and that one method of authentication, with that one cookie/ticket has been used throughout the website (with varying roles per user also stored in the ticket). I haven't used the built in LogIn controls and instead have always just created my own login/registration form, and written the code to insert into (and authenticate against in the log-in scenario) my bespoke 'Users' table. So I've essentially just been utilizing the .IsAuthenticated() method (to determine if a user is logged in), referenced the UserData property in the ticket (to determine which roles the user belongs to), and set up the 'location' restrictions in the Web.config, so the log-in page is automatically shown for pages that require 'member access' etc.
With my new project, I will need user registration/login for the Forums/Community part of the website only. I then need an additional user registration/login for the Recruitment part of the website (not related in any way to the users that sign up/log in to the Forums/Community part of the site).I was wondering if this possible, and if so, how to go about it?e user registration/sign-in pages might look the same, but my underlying code would would create accounts/authenticate against different DB tables.
View 1 Replies
Jan 15, 2010
I am creating a website for an international organization. The initial default page provides a list of languages for the user to select from, but then every page thereafter must be created at runtime with every text field inserted with the selected language. I am using tables in an SQL Server database that provides the translations for every text field on every page. My question is: How do I create a new web page at runtime that is seen by the user in the proper language? I know how to go from one web page to another existing web page. I just do not know how to transfer execution to a new web page.
View 7 Replies
Mar 17, 2011
I've just finished and published my most recent version of
[URL]
but when I try to validate the website using http://validator.w3.org it is giving me few errors.
I noticed that I have multiple <title> tags in my pages and reason for that is because I am using master pages. What happened is my master pages are using <head> tag and <title> tag inside, then default page will have <asp:content ID="Content2" runat="server" contentplaceholderid="head"> and here I'll have another <title> tag.
The question is obviously I am having duplicate <title> tags across my entire website. Which <title> tags should I remove, the one in <head> tag of my master page, or the one on every other page such as one specified in default.aspx?
I would think that master page should not have the title and any other meta tags such as <meta name = "keywoards", "description" etc since I am repeating it in all other pages but is my thinking correct?
View 7 Replies
Jan 9, 2011
My website uses a single project solution. Each web page file consists of C# code along with the markup. I now have to separate the code from each page into code-behind files that must be combined with many different versions of the markup. I assume this means that I will need a solution with a common project of code-behind files that is merged with a project of each version of the markup files in order to create different websites. I need to know how to organize the solution for debugging and building each website and where to place each file.
View 1 Replies
Dec 24, 2010
how to redirect multiple domain name on the one website that is hosted on IIS server???
View 2 Replies
May 7, 2015
I want to implement Login session , in which one user can login from one device only ..and if on other device try to login with same ID theĀ First Device get an Alert..
View 1 Replies
Jan 6, 2010
After following the instructions in Scott Guthrie's blog for converting a web site to a web application project, I am getting many, many errors. Most are either 'Name <control> is not declared.' or 'Type <type> is not defined.' And most, but not all of these errors are in the same .vb page.
Does anyone know the best way to fix this?
View 3 Replies
Feb 8, 2011
I've a solution which consists of a web project and a class library project. The web project solution directly references a wcf service. There is a 2nd wcf service, but it is the class library project which directly references it. I'm adding the class library (output) as reference to my web project.
Hence in my web project's web.config I now have two scf services configured. This process was easy since I had manually copied the app.config (system.serviceModel part) directly to the web.config, and then configured the web project to talk directly with another wcf service (directly, not through any dlls).
My web project needs to talk to a 3rd web service (asmx). Again I plan to bring this as a class library and include the dll into my web project. (This is a separate solution). When I took a look at this particular class lib project's app.config, I thought i just copy those necessary sections and merge it correspondingly with my current web.config.
So for the 3rd class lib project (which references the asmx service) I happened to notice that it had, under the bindings node, a node called basicHttpBinding, and next, a customBinding. Then further under the client node, there were two endpoint nodes which had the service attributes. (I don't understand why there should be two end points here first of all).
So I copied what came under the bindings node (from the 3rd class lib prj app.config) and appended it to the bindings node (in the web.config). I did a similar process for copying the end points too. But now when I try run the web site I get an exception which halts at the time of initializing the soap client (asmx service): it says something like its not able to determine the endpoint for this contract.
The web.config before I add the asmx web service looks like this:
[code]....
View 1 Replies
Oct 21, 2010
I have atleast 10 websites that have different css,html,javasacripts and webconfig. But the same code behind files.With this design everything is hard to maintain. So I decided to work on it and I started moving all the queries in the code beghind file to stored procedures. Since every website uses the same database.
What I have decided is to make use of themes and multiple master pages? IS this the best way to go about it?
Also lets say I have two templates. There is site A and site B. both using different templates. And have pages Home About Us and Contact.
Now would I be creating three different masterpages? for each template so 6 in total? ( since none of the templates are supposed to look the same)
or Should I just create two masterpages? if so how would I manage the html of the page so it looks different?
View 1 Replies
Jan 21, 2010
I am creating a web site through command line. I am able to create a web site with single host address. But i want multiple host address for a website. this is the command I am using iisweb /create D:Test Test.com /d [URL]
View 6 Replies
Feb 26, 2011
1 new website attach with existing website..where attached website is behave as pluggable. and used anywhere in any website?
View 7 Replies
Dec 15, 2010
I've got an external site that's built in SharePoint 2007. the user of the site need to have an option to view the full site when accessed from a mobile device. I am thinking of just creating a button control to do this. The question is, what would be the best solution to do this?
View 1 Replies
Jan 12, 2011
below written question :
1.) What is the name of the OS process in which App Domain resides.
2.)if suppose There are Three Windows application hosted on a same envoirment and two instance is working for each application at a Time, means now total instance are six .what will happen among the below written cases :
a.) There will be six different app domain in a single OS process
b.) There will three app domain(one for each application) in a single OS process and some Parallel thread will be executed in each app domain for another instance.
c.) There will be Three OS process corresponding to each application.
3.) If eveything will remain same except there are three web application in place of windows in point 2, will there be any change in functioning.
View 1 Replies
Jul 2, 2010
The gist of the problem is that we have an alumni table (one record per person) and also a couple of other tables (one to many) that have degree info and interest info. In a search screen in our app you can search for criteria that spans all three tables (there are actually more fields and tables than shown in the example below but I am trying to keep it simple).
The code below works (properly returns people without degrees for example) but still feels a little clunky or over-engineered to me. Are there easier ways to do this? NOTE: I have been through quite a few iterations/approaches to making the correct data be returned.
[code]....
View 1 Replies
Jan 14, 2011
I have an inventory page with a gridview that shows 1 item per record, each item starts with a checkbox in the gridview. Currently users can select multiple records and hit the order button and everything has worked well. Now I have multiple pages in my gridview, and if a user selects a few records from the first page, and then goes to the second page, all the records (checked checkboxes) disappear from the first page.
[Code]....
View 8 Replies
Sep 7, 2010
I am able to export multiple gridviews in a single excel worksheet
My question is can I separate these gridviews in multiple tabs under the same excel file ?
This is my current method under the link button
[Code]....
View 4 Replies
Feb 18, 2011
I have a page with two gridviews and I want to export the gridviews content to excel in two separate sheets. How is it achieved?
View 1 Replies