473,699 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Site DNS, VS 2005, and Source control

We are using windows 2003 standard server, VSS 2005 and VS 2005 (mostly team
dev, but some team arch and suite)

We run windows 2003 on our development boxes, this gives us the ability to
host multiple web sites running on the box at a time, this works great for
the most part. However, we have the following issue:

Lets say I have two web sites set up on my box that respond to their
corresponding host header value:

website1.localh ost.com
website2.localh ost.com

These DNS entries are added to all the developers hosts files, they all
point to

I do the following to create a new site:

Create the directory for the solution
Create the directory for the site
Create the virtual directory under website1 and name it MyNewSite
Create an empty solution in VS
Add a new web site to VS using the following URL

Once done I add the site to VSS as follows:

Drag drop the root folder to VSS
Telling it to check everything out
Open the project in VS
Set up the bindings
Check everything in
Delete from VSS any files not checked in

This all works fine, the reason for the steps above is so that when someone
else grabs the solution from VSS the Virtual directory is created under the
site and it's path is set to the same path I had set it to. This ensures
that everyone's path on the team is the same and we don't get any absolute
path issues. This was working just fine using Local host as our site.

Recently we've decided to set up each web site on our local boxes, as stated
above, so we are no longer using just local host. So I duplicate the above
steps with a brand new solution/website.

Once I've done the above and have the site under Source Control I delete the
Virtual directory and source files/dirs from my drive. I then pull the
solution from source control allowing VS to recreate the source directories
and virtual directory.

Once the solution is finally loaded it now has the web site as:

instead of

This causes the virtual directory to be created under the wrong site in IIS.
If I remove all the blank host headers that respond to port 80, the site is
then pulled down as a file system based web site.

It is important that the DNS be preserved so that the site gets created
under the correct web site in IIS, otherwise some of our apps will not work
correctly. How do I get the solution/site when checked into VSS to keep the
DNS that I created it with?
May 20 '06 #1
0 1235

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

Similar topics

by: Bendik Engebretsen | last post by:
Developed this personal WEB site with the new ASP.NET 2.0 Beta: http://www.techsoft.no/bendik/ It has got this problem: After a while browsing through pictures on the site, an error occurs: 'Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.'
by: Rich | last post by:
(1) Is there a better place to pose the question below? (2) I am starting to convert my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 Professional (.NET v2.0.50727). The entire solution uses the following technologies - Windows Server 2003 Windows Mobile 2003 Windows XP Professional SP2 Windows 2000 Professional SP4 SQL Server 2000
by: Chris Davoli | last post by:
Environment is: Win server 2003, SP1, Installed both Framework 1.1 and Framework 2.0. I've got a 2005 web site (converted from VS2003). When I deploy to test server it gives me the following error(Could not load type 'BN.Global'). Before this error I got an error in the web config for this tag so I took it out ---> <xhtmlConformance mode="Legacy"/> Maybe I need to upgrade to SP2 like on my workstation? Also, it looks like it is using...
by: d.grabov | last post by:
We are trying to use source control to store our database objects and queries in Perforce. The general idea is to produce scripts which create all objects in the DB and then store the SQL in source control. Has anyone done this before and can suggest some advice? Alternatively if anyone has other methods for using source control on a database, could you please let me know? Also, is there any automated way of extracting individual scripts...
by: Brad Isaacs | last post by:
I am working with ASP.NET 2.0 and using an SQL Server 2000 database. I am using Visual Studio 2005 and developing on my Local machine. I am working with Login controls ASP.Configuration, I wanted to move my work and needed to place it on the server. Using VS 2005 , went to BUILD -Publish Web Site Checked the box for :: Alow this precompiled site to be updatable.
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 down all the files and create a local project from it? I know things like DreamWeaver will do this ... and I have been poking around VS 2005 and haven't seen anything that jumps out at me.
by: nyhetsgrupper | last post by:
Hi, Which project type do you prefer? Is the web site or web application project the best solution? The application I am about to write is completly new so migrating from vs 2003 is not an issue, but it has to be easy to deploy the application (precompiled, I don't want to give away my source)
by: Robert Gills | last post by:
I've got a Web Application project that I converted from a 2003 Web Application project. The conversion works fine but when I check it into source safe and try to load it on another machine it always opens as a Web Site project. Any clues? I've tried opening from the file->open menu and from Source Control->Open Project from Source control but can't get either way to work.
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: 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: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
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...

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.