Configure and host asp.net website on VPS Server? [closed] - asp.net

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!

Related

Connect VS 2008 to My remote IIS 7 site [closed]

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.

Active Directory + IIS + SQL + ASP.NET [closed]

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?

Hosting a domain on IIS 7.5 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a step by step guide on how to host a new domain name on IIS 7.5? Configuring everything, email, FTP, IIS, etc ...
Thank you & regards
Bilal
Hosting Applications on IIS 7
I'm in the process of writing some step-by-step guides right now. They'll be available in a few months. In the meantime, I suggest you check out the following: IIS 7 Installation and Deployment
Do you have Windows VPS or a Dedicated Server?
I don't have step by step guide (lengthy work) for Configuring everything like IIS, mySQL, etc ... but the following link may be useful ... http://support.microsoft.com/kb/323972
For our clients, What we do is, we install WebsitePanel on their Dedicated Server / VPS server and then configure all other services like IIS, mySQL, SQL Server, etc ...
Basically, we deliver them ready to use web servers, where they can start hosting their websites immediately.
Just PM me and I will see what I can do for you to get you rolling ...

Automated creation of IIS 6.0 websites [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
We have web application portal that hosts multiple applications each in with its own IIS Website. So each time we adopt another machine to run our code, either developer workstation, or server, we have to manully create all of the websites for each of our applications, (and of course the list just keeps on growing). Is there an API call to create an IIS website, so that I could store all the necessary info in a database table and then write a winforms program that would check the table, and automagically create one IIS website for each record?
If you wanted to do this in a WinForms/Console application then I'd highly recommend looking at the System.DirectoryServices namespace.
There's some good documentation here:
Using System.DirectoryServices to Configure IIS (MSDN)
For example, to create sites and virtual directories:
Creating Sites and Virtual Directories Using System.DirectoryServices (MSDN)
The System.DirectoryServices namespace is a managed wrapper around the ADSI API's that the various IIS administration scripts use.
For more information on the various metabase properties you'll encounter I recommend this reference:
IIS Metabase Properties (MSDN)
If or when you move onto IIS7 then I recommend taking a look at the Microsoft.Web.Administration namespace and the APPCMD tool.
When IIS is installed onto a server, there are a number of scripts installed as well.
The one to look at is IISweb.vbs as this enables you to create a website from the command line. It's typically located in your %Windows%\System32 directory and you can run it from a command prompt using Cscript iisweb.vbs sitename /d hostheader
If you need to set further parameters on your website, then there are a couple of ways of doing it, either use the adsutil.vbs utility script or create your dummy website, export the settings to a file (save configuration to a file) and then when you need to create a new website, get your program to edit the settings and then import the configuration as a new website.
A good place to look for some of this is in the IIS 6.0 Administration guide
Obviously to do this, you will need to have the appropriate permissions on the servers where you are creating the new websites
Another useful script is adsutil.vbs in C:\Inetpub\AdminScripts
What version of IIS are you using? For IIS 6:
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx?mfr=true
You can use SDC Tasks Library for that purpose. Here is a little manual.
I was looking for the same thing and I found sample code that creates a website in iis7 using C# and the Microsoft.Web.Administration API. Add a reference to C:\Windows\System32\InetServ\Microsoft.Web.Administration.dll in your visual studio project and run the code.
http://bloggingabout.net/blogs/dennis/archive/2008/05/16/programmatically-creating-an-iis7-site.aspx
You can create installators for your WebSites and run this insallators manualy or in batch. To create installators you can use WiX link text or standard Visual Studio Setup Project. Wix is more powerfull, but easiest way to start is to creating Visual Studio Installation project .

Can WampServer be used successfully in production?

Can WampServer be used successfully in production? Is this a bad idea?
So everyone knows, and I don't see how this mattered, we've paid for a windows dedicated box and we have existing IIS apps. We just wanted to use a PHP based CMS which installs easier on apache (since it has some dependencies). So, as the title indicated, windows, apache, php, and mysql are requirements.
Additionally, I'm talking specifically of the WampServer flavor of WAMP.
If you're not going onto the internet, there isn't any reason really not to. Of course you'd have to look at all the normal caveats - backups etc.
Instead of using an already made one, why not try to do your own? It would be a good learning experience and really they aren't that hard to get working together.
WAMP is approriate for production of an Intranet. We developed a solution with FLEX (front END) /PHP/MYSQL (BACKEND) and it's been working very well for a year now. You just have to secure the Server on which WAMP runs. WAMP is just a tool for configuring APACHE/PHP/MYSQL on a Windows plateform with ease.
WampServer themselves says they are not appropriate for production, only for development. Security issues, load balancing, etc., are definitely part of it... plus, deploying Apache on Windows is just a nightmare.
Use LAMP. Alternatively, use IIS... if you're going to deploy a Windows production server (don't), use IIS.
LAMP is more stable, but i have wamp running intranet-sites succesfully in two organisations with over a 1000 users.
I don't see why not, but why use Apache on Windows when you can quite easily install PHP on IIS?
I love how the only guy who answered the actual question by paying attention to the fact that the OP was asking about the all in one product that is WampServer has a -1 rating. To reiterate what he said though, yes it would be a bad idea to use it in a production environment.
I'm using WAMP over Windows Server 2003 as a production server for an Intranet. accesing MySQL and SQL Server toghether.
We are not too many users, but I had no problem so far.
Easy configuration, easy maintenance, posibility to autenticate domain users in Apache...
Perhaps with heavy load environments it's not so good, but for me is the perfect sollution by now.
YES, it can be used in production under condition that you install the secure WAMP distro. And yes it can run on Internet and not just intranet.
Here is a link to a secure WAMP for production where you can customize the security level and other settings to suit production environment.
http://securewamp.org/en/
Windows and WAMP can be successfully used in production even on high traffic websites however you will need to make changes and switch from mod_php to FCGID.
Why not just use LAMP? PHP code is portable. I used WAMP for development, LAMP for production.
WAMP would probably work for production, but why not just use LAMP?

Resources