I am having non uniform results for applications running on two Windows 2003 Servers running IIS. Is there a way to quickly dump IIS configurations to a file for comparison? Are there good tools to compare two IIS servers?
Give Metabase Explorer a shot as part of the IIS 6 resource kit. You can view all the settings for multiple servers and copy/paste the results to an xls and compare there.
You could use Web Deploy (http://www.iis.net/download/WebDeploy) for that, you can point it to the server remotely (assuming you have Administrator credentials) and diff two servers to see what are the differences. You could even sync them if you wanted to so that they look the same.
Related
I use XAMPP, all of the files necessary for my web app to work is in a single folder in htdocs. I need to move these to my linux vm which uses nginx. Is it possible to just copy the folder to make it work on the nginx web server? Can I also do the same for the database since it uses PHPMyAdmin?
FYI: I have to compare and report the performance difference between 2 WAF (Web Application Firewall), I have used ModSecurity, but unfortunately I cant find the second one which works on Windows (I barely have experience using other OS), so I changed the idea to comparing the performance of ModSecurity on NGINX vs APACHE. I've tried other WAF but I can't implement them on my website because it has to be local.
If this doesn't work, I probably have to compare ModSecurity performance on Windows vs on Linux, because I really have to compare performance of WAF within 2 conditions.
I would really appreciate your input, thanks.
I need to migrate multiple IIS sites from one server to another. The problem here is that the target server already has IIS installed and some other sites running on it. All the solutions described in search results are unacceptable – they will replace everything basically doing a full wipe of the existing sites. Is there any way to create an "additive" migration package?
You can use msdeploy.exe to sync individual sites between servers.
msdeploy -verb:sync -source:webServer -dest:webServer,computerName=Server2
https://technet.microsoft.com/en-us/library/dd569005(v=ws.10).aspx
I am in a situation where the current web server is a production environment and there is no development environment. It is running Joomla on an IIS Web Server and is an Intranet site with all of the security, IP restrictions, Certificates, and whatever else required to run an enterprise level Intranet site.
I am wondering what I can do to set up a development environment to work within (preferably using some type of version control).
I have full reign over the IIS server, and I have had a co-worker set up a VM clone of the current system to work with, however the security is making it difficult to work with and set up.
I would like to not use Visual Studio as I don't believe I have a license for it; however I can get it if need be. I would like to stick with Notepad++ if at all possible.
Thank you.
If you're wanting to literally take the site content out and be able to edit and work without any of the security restrictions of the production environment, there's a couple of ways you could do it. However, it's going to depend on what DB the system is running with.
Joomla, regardless of what web platform it is running on, is coded in PHP, so you don't have to worry about getting visual studio. You can use Notepad++ as normal.
Option 1 - IIS Clone
If you can take a SQL backup of the database, you build a from-scratch box with IIS. You'd need to add the PHP drivers to IIS to do this. Go to Microsoft's site for more info:
PHP for IIS
Option 2 - Apache Port
You can make an Apache box using WAMP to run, if you're using a Windows machine. PHP is PHP, on any platform, so it should work without modification.
The tricky bit will be the database, depending on your situation. If the database is MySQL, you can import your database backup and be good to go, after changing the config files for the Joomla site.
If the site used MSSQL, it's a little trickier. You'll need to install an MSSQL PHP plugin to get this medthod to work. There's plenty of instructions online on how to do this, it's a case of finding the right one for your implementation.
Since I have began using WebMatrix, I have developed many of my organization's web-interface, intranet sites. I am now up to four, almost five sites running all at once for users to connect to, and I am afraid that opening up that many instances of the entire WebMatrix app may result in a waste of the server's resources.
I have been scouring the Internet for a reference to how to run multiple sites with WebMatrix. I haven't exactly come up empty handed, however, I haven't found a solution I like either (even though sources suggest this is entirely possible).
Even though I do know how to run multiple sites at once with WebMatrix (simply open up another instance of WebMatrix) my first question is: Isn't this more resource intensive (for the server using iis-express) then it needs to be? Is it beneficial to turn these sites on via command line over simply opening up several instances of WebMatrix?
Last Question: I found this article here...:
http://forums.asp.net/t/1677533.aspx/1
...where Mike Brind suggests that this can be done by using command-line to browse to the correct iis-express directory (for me: C:\Program Files (x86)\IIS Express) and using the command:
iisexpress /site:EmptySite1
Where EmptySite1 is the name of the site desired to be ran.
I get this error when trying this:
Command Line switches must be preceded by a '-' or '/'...
Any clue how I can run multiple sites at once from command-line, or if I even need to?
(Sorry I am in no way a command line guru, as I'm sure you can, by now, tell)
I am running Windows Server 2008 R2, if that matters.
Thanks for any help!
Since you are running full blown Windows Server 2008, install regular IIS. It can run multiple websites all at once without having any special command lines. Since it runs as a service, IIS will automatically restart if and when the server is rebooted. The downside is that IIS is a bit more complicated to configure than IIS express.
At work, we have multiple branches that we may be working on at any time.
Our solution so far as been to create multiple web-sites but you can only run one web-site at a time. This makes switching between branches more of a pain that in should be.
I just want to go to the URL, mapped in my hosts file, for that branch and it just work.
Our client machines are XP machines with IIS 5.1. Is there any way to make IIS 5.1 run more than one web-site simultaneously?
Yes, it is a restriction and this one website can have only 10 simultanious connections.
Buy a Windows 2003 or 2008 Small Business Edition, it is quite cost-effective in this scenario.
Are virtual directories an option for you? I run multiple versions of the same website this way.
I believe it is a restriction of IIS that you can only run more than one website on server versions of the windows OS.
Oddly enough, this is something I remember Jeff covering ages ago, but I guess it's still relevant if you're on IIS 5.1:
http://www.codinghorror.com/blog/archives/000329.html
One way you could solve this without reinstalling your computer is to create each branch in a virtual subdirectory under you current web-root. Then at the top-level website, create a default.asp(x) the reads Request.ServerVariables["SERVER-NAME"] (should be underscore) and redirects the browser to whatever virtual directory/application you want to access. That way you can create all the "virtual" domains you want in your hosts file.
With Windows XP and IIS 5.1 you cannot run moultiple web sites.
You can however run multiple ASP.NET hosts. You would probably have to write the host your self.
Something like this should get you started:
string FileLoction = "..Path to the branch..";
HttpListenerWrapper lw = (HttpListenerWrapper)ApplicationHost.CreateApplicationHost(
typeof(HttpListenerWrapper), "/", FileLocation);
string[] prefixes = new string[]
{
"http://localhost:8081/",
"http://127.0.0.1:8081/"
};
lw.Configure(prefixes, "/", FileLocation);
lw.Start();
Picking up on Biri's answer rather than choose SBS there is a specific Windows Server Web edition which is the cheapest of all, around $399 and doesn't require CALs.
Otherwise, if it's just for developer machines Vista Ultimate allows multiple IIS sites hosted simultaneously.