Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have installed Windows server 2008 r2 on a virtual machine, Can I install Active directory with domain controller + IIS + SQL server on the same machine? I want to make web application and this web application will authenticate users from Active Directory, the web application should be published on the server IIS and the users should access it remotely from their home using domain name of my machine, Someone tell me that its very wrong to have IIS and Active directory on the same machine.
You can't use ActiveDirectory over the internet. At least not without something like a VPN as a middle man. Their home computers will not be joined to the domain, so there is no pass-through authentication.
Yes, it's a bad idea to put AD on the web server. Why is too complex to get into in an answer here. Suffice it to say that even if you did do this, it's probably would not work the way you are thinking it should.
It's not impossible to do this. For instance, many of the Microsoft "Small Businesss" products put IIS, AD, and SQL Server on the same server. But, you kind of have to know what you're doing to configure it securely.
Can I install Active directory with domain controller + IIS + SQL
server on the same machine?
Yes. Not usually recommended, but certainly possible.
the web application should be published on the server IIS and the
users should access it remotely from their home using domain name of
my machine
If you intend to use Windows Authentication, it is challenging to get that to work correctly; you will probably need a VPN as a minimum. If you just want them to type in Windows credentials, then do you really need a domain? Could you just use regular Windows users?
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
It's the first time that I owned a VPS server(provider is constant.com).
I have googled out about it but no luck and not sure how to configure and host asp.net website.
I've worked on my website for a while and now it's time to let it go for online test. I have a VPS and a domain.
I am familiar with cPanel but constan's support team says that cPanel not supported on windows os server. Is that normal?
Therefore, I need to connect remotely through Remote Desktop.
Do i need to install Visual Studio and MS SQL Server on VPS? If so, how's it possible?
Can i install cPanel on windows based VPs server?
What i need to do to configure and host my website with my owned domain on virtual server?
Any guides and suggestions would be appreciated.
Thanks
You dont need to install Visual Studio unless you are planning to code on it. You can still use your local installation and upload updates from there. If your project needs SQL then you should install it on the VPS. As an option you can use dedicated SQL hosting at additional cost or Windows Azure SQL.
Yes you can install cPanel or such if cPanel not supported (like anything else) but I dont think you need. Thechnicaly a VPS allows you to do same things you can do on any phisical server. And your hoster gives you local admin rights. So you dont need any hosting panels in addition to OS tools you already have.
It is very depends from what your project needs. You might need to configure IIS server on that VPS. You need to setup DNS record to allow users to use domain name instead of IP (use your domain registrar panel). You also might want to install Microsoft Web Deploy which will help you to deploy your project directly from VisualStudio. If you plan to use SSL, you will need to get a cert and install on your VPS and setup IIS to work with.
There is nothing super special than you wont be able to do. So congrats with your first VPS and good luck!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am trying to connect Via 2008 to a remote IIS 7 site on windows server 2008. I have installed the front page ext on my server and assigned users/roles to my various sites. When I try and connect via vs 2008 it prompts me for user name and password but will not connect. It seems like a simple issue but I cannot figure it out. What authentication modes must be enable on IIS. Anyone have any sugestions
I am not running ftp on the server in question. When the drive was shared VS could access the directory fine. IIS is running windows authenication mode.
Make sure the VS2008 user has windows permission to access the target folder(s).
Make sure the firewall (windows and external, if there is one) has the proper ports open.
If VS2008 is using FTP, try active instead of passive. If that makes a difference, there are some special things you can do to make passive FTP work.
Make sure IIS is set up properly for ftp and/or front page extensions, application pools, etc.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How could you update asp.net application from a central location. I would like to publish the final updates to a central location and have all the sites download latest updates from that central location.
Its like having ur wordpress site getting the latest version for word press ur yahoo asking users to migrate to the latest version.
You can use tool you buy, or try to write your own scripts. Writing them for yourself is not that hard.
From tools I know of Octopus Deploy or Redgate Deployment Manager (RedGate bought Octopus' sources and now sells as it's own project with some modifications/additional features). With those tools you install their agent on target servers to be able to deploy new versions of your web sites to those servers. Octopus works in both push and pull model. I don't know about Deployment Manager.
In my work I publish using self written scripts that are configured as Jenkins jobs. One click and new version is installed. This is a "push" update.
Remember that in order to update the web site without users noticing (no technical break) you need at least two servers and load balancer and a shared state service. Before deployment you need to reconfigure Load Balancer so that it routes all requests to one server. Then you update that server. Now reconfigure Load Balancer so that it routes all requests to the updated server, and update the other one. After you update all servers reconfigure Load Balancer again so requests are routed to all servers.
There are two main approaches:
The first is to "push" the updates, such that when you upload a new release it will contact each website (such as sending a request to a trigger URI) causing each site to download-and-install the update you've provided. This would require your central update site to maintain a database of sites to inform about an update.
The second is to have the site's code include a check (on a separate thread so it doesn't block any page requests) that it hasn't been n days since it last checked for an update, and if so, to check with your central server for an update, and if applicable, download and isntall it. This approach means that your central server does not need to be aware of consuming sites, only vice-versa.
Recently I have done same thing. But in my approach application does not ask user to download the latest version. It directly download the latest version. What I have done :
Create a webservice in your application. Which will receive data and directly update the database or any other part of your project.
2.Then you have to create a windows application which will be installed on your server.
And it consume the webservice of your application in client machine. Now just write a scheduler in your win app that will start every night or whatever you want. Whenever it will start, it call all the services and send them the updated data. And your service will receive this and update the application.
Let me know, it helps or not
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I was asked to run a website which was made by Asp.Net and Sql server 2008 for a local network. I have never done to do that before and I don't have a clue what to do, could you suggest me tutorial to help me to do so? I need to know how to run it there and how to config for other computers to use it? thanks
you can try like this...
You must have a web server (Windows comes with one called IIS, but it may not be installed)
Make sure you actually have IIS
installed! Try typing http://localhost/ in your browser and see what happens. If nothing happens it means that you may not have IIS installed. See Installing IIS (IIS
6.0)
Set up IIS How to set up your first IIS Web site
You may even need to Install the .NET Framework (or your server will only serve static html pages, and not asp.net pages)
Installing your application
Once you have done that, you can more or less just copy your application to c:\wwwroot\inetpub\. Read Installing ASP.NET Applications (IIS 6.0) for more information
Accessing the web site from another machine
In theory, once you have a web server running, and the application installed, you only need the IP address of your web server to access the application.
To find your IP address try:
Start -> Run -> type cmd (hit ENTER) -> type ipconfig (hit ENTER)
Once you have the IP address AND IIS running AND the application installed you can access you website from another machine in your LAN by just typing in the IP Address of you web server and the correct path to your application. If you put your application in a directory called NewApp, you will need to type something like http://your_ip_address/NewApp/default.aspx
Turn off your firewall
If you do have a firewall turn it off while you try connecting for the first time, you can sort that out later.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We have several web apps that use Windows Authentication that worked fine on IIS6. After deploying them to IIS7, Windows Authentication no longer works (we get 401.2 errors) UNLESS we set the web app to use the "Classic Pipeline"
I realize that Forms auth and Windows Auth aren't simultaneously supported as mentioned here and here - but that is not my issue - I dont have Forms Authentication enabled. I only have Windows Authentication enabled - but I am always getting the 401.2
Has anyone run into this? Is there something else I need to do?
Thanks!
-Mike
There are two immediate thoughts: (1) is Integrated Windows enabled on the server as a feature in the role (2) is the authentication configured in the right part of web.config? IIS7 stores some of its configuration is web.config, and moving from IIS6 to IIS7 often involves adding extra information.
See also: http://forums.iis.net/t/1153827.aspx
A lot of the settings in the web.config move from system.web to system.webserver when changing from classic mode to integrated mode. For example custom httpmodules move into system.webserver. Do you have any httpmodules that are handling custom authentication?