473,394 Members | 1,752 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,394 software developers and data experts.

Q: deploy my project

Hello,
I used copy project and create a copy of my project with file required at
run time to deploy my asp.net application to a DMZ web server. I copied the
folder to Web sever and created a web site by pointing this new folder. I
have web site name as MySite. How should I launch this in the internet
explorer to see if it works. I tried http://MySite it did not bring anything.
I have never done this before.
Thanks,
Jim.

Nov 19 '05 #1
3 1859
Jim,

You mentioned you created a new Web site in IIS? Or did you simply
create a virtual directory under the Default Web Site. http://mysite
would not bring up anything due to the host headers associated with
this. What you can do, is either place your newly created projected
within the Default Web Site by using a virtual directory and simply
reference the project by: http://localhost/mysite. This, I'd imagine
is what you are trying to accomplish, but I may be mistaken.

If you do need to keep a new Web site (in IIS), than you will need to
either switch which Web is acting as the Default Web Site by managing
the host headers, or make sure you have a DNS entry pointed to it. Or
if you really want to, you can fake a DNS entry by editing your hosts
file.

Since you have not done this before, I'm assuming you are attempting
to do the first option?

I hope I didn't make things worse!
Aaron

Nov 19 '05 #2
Hi Aaron,
Thank you very much for your help. If I copied my project folder MySite to
c:\inetpub\wwwroot\, does that mean I am in Default Web Site.

I checked our IIS and it seems there are two websites running: Default Web
Site and our main website (WebSiteName). Here is more detail for you to help
me more. Our current web site is accessed as
http://WebSiteName.OurDomain.com, and I checked WebSiteName is created a
separate web site with a different IP address.
Now I want to keep the same style and to access to this MySite asp.net
application as http://MySite.OurDomain.com, how can I do this?
I created MySite as a web site and with a different IP address. I also
created virtual directory on that, still do not know what I should do to
access my site as given above.
Thanks for your help.

"Aaron Corcoran" wrote:
Jim,

You mentioned you created a new Web site in IIS? Or did you simply
create a virtual directory under the Default Web Site. http://mysite
would not bring up anything due to the host headers associated with
this. What you can do, is either place your newly created projected
within the Default Web Site by using a virtual directory and simply
reference the project by: http://localhost/mysite. This, I'd imagine
is what you are trying to accomplish, but I may be mistaken.

If you do need to keep a new Web site (in IIS), than you will need to
either switch which Web is acting as the Default Web Site by managing
the host headers, or make sure you have a DNS entry pointed to it. Or
if you really want to, you can fake a DNS entry by editing your hosts
file.

Since you have not done this before, I'm assuming you are attempting
to do the first option?

I hope I didn't make things worse!
Aaron

Nov 19 '05 #3
Jim,

Yes, if you place a folder "MySite" in your c:\inetpub\wwwroot,
that would most likely mean that you are in the default Web site,
unless your administrator changed this (possible, but most likely not
the case). What you can do is take the following steps to ensure that
this is the default Web site.

Right click on 'My Computer' and click on manage. At the bottom of
the left tree, you will see "Service and Applications" ->
"Internet Information Service" -> "Web Sites" -> "Default Web
Site". I am sure you are already familiar with these steps; however,
I am simply spelling them out in case someone else is following along.

Right click on the "Default Web Site" icon and select properties.
Select the "Home Directory" tab and ensure that your "Local
Path" is c:\inetpub\wwwroot.

While you are here, go to the "Web Site" tab and next to the "IP
Address" field, there is an "Advanced..." button. Go ahead and
click on that. Just to let you know, this is where the Administrator
places the various domain names that this particular Web site would
use. If you see an entry but it has a blank "Host Header Name",
this simply states that if you type the words 'localhost' into your
browser, this particular Web will respond.

Anyway, a long drawn out story just to ensure everything is set up. Go
ahead and close most of your windows out, but keep the Computer
Management window open. After you drag and drop your "MySite"
folder under the c:\inetpub\wwwroot directory, there is one additional
step you will need to take. Expand the "Default Web Site" icon and
find the "MySite" folder which you just copied and pasted in (you
may have to refresh the tree). Right click on the folder and select
Properties.

Application name should be grayed out. Simply hit create and OK on out
of computer management. You should now be able to access your project
via: http://localhost/mysite.

Now, that is the basic steps. What you will actually want to do to
have a mysite.ourdomain.com type atmosphere is create yet another Web
site. In the computer management tool, where we were before, you will
want to create a new Web Site. Right click on the "Web Sites"
folder under Computer Management and select New -> Web Site. Click
Next. Now fill out a description. You can entitle this new Web site
whatever you desire, but to keep it easy, you may want to give it the
entire domain name (mysite.mydomain.com) so you can easily identify it.
Again, this has no affect on the actual domain name, just keeps it
organized.

The next step is the important part. Keep the IP address as "All
Unassigned" as you can easily run multiple Web sites on the same IP
address (as long as you are running a server type environment (win 2k
or win 2k3) which it sounds like you are. TCP port should remain at
80. Now the Host header is the part you will want to enter your full
domain name. mysite.mydomain.com for instance.

The path is the path to your project folder in your case. You should
be able to keep the rest defaults and breeze through. Now, the one
thing that is out of your control (or may be in your control depending
on your organization) is the DNS entry. Whomever owns the DNS server
that handles mydomain.com for your organization will have to be
contacted. You will simply want them to make a new DNS entry for
mysite under the mydomain.com entry. They should know what you are
talking about. You will want them to point it to the IP address of
your server. It may take a few hours to take affect, but for the most
part, it should be rather instant.

Voila!

I hope this helps!
Aaron

Nov 19 '05 #4

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

Similar topics

1
by: Wilson Ricardo Passos Oliveira | last post by:
Hi fellows, I have two simple questions regarding the Framework's deploy and the Setup and Deploy Projects: 1. As I've read in another posts and newsgroups (and as I can imagine), VS.NET...
4
by: Flip | last post by:
What is the proper/suggested/best way to deploy a webapp to a Win2K3 Server running IIS6? I am coming from the j2ee world (easy on the flames please, I'm moving to ..NET remember :>), and I've...
2
by: Nils Hedström | last post by:
I have a ASP.NET 1.1 project that I want to be able to deploy on my web-servers while they have real traffic (40 requests/second). When I copy the projects assembly in the bin-directory of the...
1
by: Jeffrey Jones | last post by:
Hello all, I hope I am posting to the right forum. I have made my very first ASP.NET web app and am trying to deploy my baby to a remote server. All I know about my remote server is that it has...
4
by: bob lambert | last post by:
Help I am trying to deploy to another pc a vb.net std 2002 windows form application. I am confused. I created a project - windows form I built form, compiled and debugged. I created a...
5
by: WT | last post by:
WTCRM.Settings.DBDataStore is a class in a main site deployed including everything in the same assmebly Address_Manager project is an external module that uses WTCRM as a reference....
5
by: Mircea Pleteriu | last post by:
Hi, I have developed a a web application with ASP.NET 2.0 and VS 2005. My client wants to be delivered a .msi file that installs the app. My big problem is that the .msi also deploys the source...
4
by: meo | last post by:
Does .NET provide the way to deploy library to internal developer? I am trying to find the way to deploy a library file to developer for having integration to their application BUT the customer...
6
by: AGP | last post by:
I resisted for many years but I've just written my first app in .NET2005 and am looking to deploy my app with a third-party installer. ClickOnce and the VS Installer do not meed my needs and I am...
2
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, I have Visual Studio 2005 Professional. I have been deploying VB2005 apps using "Click Once" which works great and will add .Net 2.0 framework where needed and adds all prerequisite...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.