Hello i have hosted my website on VPS windows 2008 r2 using wamp server, but i want to know which webserver is better for live server ,wamp or xampp ,because a lot of people visit my website.
Wamp and xampp are all using aparche as web service. so there in no difference in term of web server. however wamp and xampp mainly designed for easy development environment set up. for production you may want to set up the environment from ground up. if you going to host with windows, The IIS may be the better fit.
Related
How do I make the webserver within Visual Studio serve content that’s viewable by other machines on the network?
For example: When I press F5 and I give the other person the ip + port he/she can see the content.
Thanks!
You can setup Visual studio in order to use IIS to debug. Its in the properties.
If you do that then people can visit your debug.
http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-7/
Sounds like it's not possible.
From MS Site:
If you cannot or do not want to use IIS as your Web server, you can still test your ASP.NET pages by using the ASP.NET Development Server. The ASP.NET Development Server, which is included with Visual Web Developer, is a Web server that runs locally on Windows operating systems, including Windows XP Home Edition. It is specifically built to serve, or run, ASP.NET Web pages under the local host scenario (browsing from the same computer as the Web server). In other words, the ASP.NET Development Server will serve pages to browser requests on the local computer. It will not serve pages to another computer. Additionally, it will not serve files that are outside of the application scope. The ASP.NET Development Server provides an efficient way to test pages locally before you publish the pages to a production server running IIS.
You could installl IIS or IIS express and publish to them, otherwise as Franky says its not possible with Cassini (the VS inbuilt one)
I have a Windows Server 2003 and asp.net website running on localhost. I have to install php and mysql, but php installation doesn't work for whatever reason. I was wondering if I could install package such as xampp on windows server to save time and hassle installing in manually (I could not find a tutorial for this). I was wondering though, if it is safe, i.e. what will happen if I go to http://localhost/ - will I get the php or asp website? In general, is it safe to install xampp on windows server 2003? All advice greatly appreciated.
Yeah, it's safe to install both. What you do is bind one to one port and the other to another port, so IIS is port 80 and Apache is port 81 or whatever, http://localhost/ would go to IIS and http://localhost:81/ would go to apache.
Microsoft got a detailed oficial instructionpage for PHP on IIS under h**p://php.iis.net/
You probably got IIS 6 running on that Windows 2003 Server. The following article describes how to run PHP apps
http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
If you have no experience with XAMPP or Apache Webserver I wouldn't recommend to install it... especially on a production system.
I have a VM on my Win 7 machine running Server 2008. My website can't run properly unless it's running on the server due to COM+, other website integration and environment variables. Currently, I have VS2008 installed on the Windows Server 2008 and I develop there (which is dumb, I know) instead on in my Win 7 workstation. I hate this setup.
My question is, how can I developer on my workstation and then EASILY push and test th websites on the VM Server?
Access files across the network so the actual changes are made on the VM Server?
Make changes locally and publish to VM Server?
Can I set up VS2008 so that if I when I Run the application in VS2008 it pushes everything over and opens a web browser that points to the VMServer's IIS Website?
Of course, the VM is a server on your network. Exactly like any other server on your network, virtual or otherwise.
For debugging you can setup VS2008 to remote debug but I think you'd have to publish the site, start it and then hook up the debugging but I'm happy to learn that there's an easier way... anyone?
Hi I'm a relatively new student in computer science university program. We're getting into web development now. So far, I've only used Visual Studio. Should I be learning how to work with Apache AND IIS? What is the difference? Can I use Visual Studio with Apache? If I download XAMPP, can I still use IIS on the same machine later on?
IIS is a web server that runs on Windows only, whereas Apache is a cross-platform server that will work on Windows, Linux, Mac OS X and various flavors of UNIX. Though you can make either of these servers work with pretty much any web technology (ASP.NET, PHP, Python) there are some natural pairings that you'll find are pretty common.
If you're working with ASP.NET, IIS is the natural fit since both are Microsoft products. Learning how to work with it will help you if you were to start placing your applications on IIS servers later on.
PHP and Python are more naturally paired with Apache. XAMPP, for example, already comes with PHP configured to work on Apache. (LAMP, WAMP and MAMP are other editions of this on various platforms.
You can download versions of PHP, Perl and Python to work with IIS. Some of this can be done with the MS Web Platform Installer, others require a bit more elbow grease. That said, there are installation packages available on many of the technologies' websites.
If you want to work with Mono's open-source port of ASP.NET, on Apache, you'll need to configure the mod_mono extension for Apache.
You can configure as many web servers as you want on the same machine, so long as each of them is listening on a different port.
They are both web servers. IIS is used mostly by Microsoft shop developers as it comes with ASP.NET support - the core of Microsoft's server side technology. Apache is used by almost everyone else (Java, PHP, Python, Ruby, etc. developers) on mostly Linux and Unix servers. Although Apache can technically run on Windows, if you are using Windows servers and programming on Visual Studio, it would make more sense for you to use IIS. Apache is generally more widely used worldwide http://news.netcraft.com/archives/2009/10/17/october_2009_web_server_survey.html
you can use IIS and apache on the same machine simply you would have to setup one of them not to listen on the standard port 80.
What language will you use for your test. if you use plain CGI apache and IIS are fine. If you are doing some dotnet project it would be better to keep playing with IIS.
It's possible to do some ASP.net on apache but require to use mono and that a bit more complex.
Also it's usually more easy to administrate some Apache server, there is a lot of resource on the web about apache. IIS is sometimes more difficult to figure out.
Yes, you should look at IIS and Apache to see how they compare.
What is the difference? One runs on Windows only. Apache runs on almost every platform.
I've never tried to use Apache with VS.
They can run on the same machine, as long as they're configured for different ports.
I'm working on some old .asp pages. I mostly do VB development so I'm a newbie to .ASP.
How can I run those pages locally for testing?
I'm running Windows XP Home SP2.
I'm guessing I'll need to install a local server, etc.
Yes, you will need a local server. However, IIS doesn't install on XP Home. But like most things, there are workarounds.
Installing IIS on XP home
You will need IIS installed locally to test ASP. IIS is part of XP Pro but not of XP Home.
So officially you will need to upgrade at least to Pro.
There are also some other servers out there ranging from free to not that let you test your ASP code. I've heard of, but not used, Baby Web Server: http://www.pablosoftwaresolutions.com/html/baby_web_server.html