Setting-up a live ASP website - asp.net

So, I've been setting my sights on MS Azure for quite awhile as my top hosting choice. I have a trial account and since I am still in the development phase of my ASP project, I wouldn't want to have to spent a cent yet.
However after a month, the issue of how I am going to host my website came into mind. I haven't tried Azure yet, however assuming I want to host it privately or using a VPS to save costs, how exactly do I transition my project for hosting?
Azure has a toolkit which handles the uploading and whatnot for me, however if I engage in VPS services, how do I set-up my website and will the cost difference be something worth looking at?

A lot depends on what your needs are. "Hosting an ASP.Net website" covers a pretty broad spectrum from a simple one-page site that no one but you and a couple friends look at to a complex and highly trafficked site like StackOverflow. Telling you what you need to do to host your site is impossible without more details. However, to get you started with some basic information so that you can ask a better question I recommend you start with this page, scroll down to the paragraphs labelled "Web Sites" and "Cloud Services".

Related

Best hosting option to start with for both dynamic website and WordPress

As a frontend engineer and where the freelance market seems to be, I'd like to dig into some WordPress stuff and build one for myself to at least know how to play around with it. And soon later I'll dig into backend and probably would deploy a dynamic website.
I'd like to find an option for a way that could host both, and also I can learn and develop more in such hosting method.
I tried heroku but its policy changed so the current way I forked on GitHub wouldn't be available soon. I cancelled bluehost subscription cause I believe it's not gonna be suitable for future deployment with dynamic website.
I've seen aws but its services are too many that I have no where to start with.
I'm so confused with all hosting options and iaas paas saas even tho I tired to read articles to understand them. Plus information online is like crazy a lot so that I have no idea which should I start with.
I am fine with paid service,
Could anyone share some experience with me?
If you are just getting started with web hosting you should use firebase hosting (You can't host Wordpress sites in firebase). It is completely free for hosting and also has a free database. You can deploy react.js apps or basic html,css,js websites in firebase. If you are using next.js you can check out Vercel. After exploring all of these you should try to get into the fun stuff such as Hostinger, WP Engine, DigitalOcean which support wordpress, static sites and dynamic sites.
I am not an experienced engineer like you are, but I have used these and trust me they are worth it. I hope this answer helps you

How to make WordPress running at Google Cloud Platform more secure?

So, I have an instance created at Google Cloud Platform, with Bitnami WordPress installed, and my website got hacked...again. I migrated a few months ago from my hosting to GCP, thinking it will be safer, because my website got hacked before, probably by my competitors, because I have several more websites and only this one gets hacked. But the migration didn't help. I thought Google took security more seriously. I don't know if the instance got hacked, or WordPress, or something else. So, what can I do to prevent this?
Security of your VM, OS, and WordPress are your responsibility.
There are a zillion ways to get hacked. Your question has no details on how your systems are configured, what hack occurred, etc.
The Internet has many tutorials on securing Linux, securing WordPress, securing Google Cloud. YouTube also has good resources to learn from. Invest the time to learn how security works and how to protect yourself.
Regarding your competitors hacking you - maybe if they are naive or unethical. In general, it is often easy to figure out who did what, when, and from where. The experts that know how to cover their tracks won't target your site as there are no financial or bragging rights. Most likely a script kiddie found an easy target.

Developing a website using remote server

I have been searching for a broad answer to this question for a while.
I am developing a website using wordpress and have a fair amount of css/html/php/js knowledge. In the past, I have made websites on my local machine and then registered them with a domain name.
This time, a friend has offered to help as he has experience with the marketing/business aspects of web development.
As I said, we are using wordpress, and I would like us both to be able to access the website as it would be viewed online, as well as the backend in order to make changes and complete development however we see fit.
I have considered a number of options for how to do this, but I would like some guidance and see what people recommend. I see my options as this:
(1) Meet up with him and host the wordpress site on the local IP to edit together.
(2) Enable port forwarding so that he can access the wordpress remotely and we can edit together.
(3) Load Ubuntu onto an old machine and host the website using DynDNS.
(4) Buy actual server space and host the website with the express intention of editing it remotely and later hosting it to a new domain.
(5) Using git or a repo system (this idea is not as good because he does not have experience with such a system and does not seem ideal for web hosting).
Which of these would seem ideal? If we ended up looking to build more sites, which of these options would be best?
Thanks! Also, if there is an old StackOverflow that answers this I would appreciate it.
Personally, I have used options 3 and 4 with great results. Being that I already have server space and it was not a problem to host it there. I'm not sure if this is relevant but I'm pretty sure GitHub is an option too. I've never used it but I think it would work for this.

ASP.NET website deployement

I am new to web development and have been building my websites in Visual Studio. I have built a database which is stored in App_Data folder. The database is open(no password) but when the website will be ready and when I will publish it onto a server then what will happen to the databases. How will I add the password. Will it remain stored inside the project or can I move it to the hosting server's database folder's. I maybe be asking silly questions but they are bothering me.
*Please bear with me, I am dyslexic and have problems doing normal things.
No questions are silly everyone on this site was a beginner once and I’m sure they have all in the same boat.
When it comes to deploying a database each hosting company will be set up differently and most likely each hosting plan at that company will be different. My hosting company helped me out the first time and it was actually much easier than getting my first database to work on my own computer, but a lot more time consuming.
I’m guessing you are using SQL Server Express locally, if so you will probably find your hosting company, sorry I’ve said (Hosting Company) a lot in this spiel, doesn’t support Express. This will mean you will have to go with its big brother, but most plans will have at least one available on the cheapest plan.
All that said, your database will most likely not go in you App_Data folder, I suggest contacting you hosting company and ask them about the process. One thing to keep in mind though is make sure you like you hosting company and they are not going to go away, because once you go through the process of setting it all up and getting your data into it, you want to ever have to move it!!!
So time consuming and pleasantly easy,
Cheers,
Mike.

Multi-tenancy support: Umbraco vs Orchard Project

I am currently using an older version of Umbraco (4.03) and I have several basic sites (mostly 1 pagers) running under the same IIS Application.
I have a shared hosting account with Winhost.com, which doesn't offer multiple site application roots, just domain pointers, so I'm limited to a single CMS installation that supports multi-tenancy.
The Umbraco multi-tenancy setup is a bit hacky and I really need to upgrade. It seems that Orchard is more focused on multi-tenancy support. My Umbraco installation has some issues with shared skins, which has always been a little annoying.
So, the basic question:
Just based on the multi-tenancy scenario, has anyone had experience of both Umbraco and Orchard that can give me an opinion / comparison? If so, is the new version of Umbraco any better than the version i am using with regards to its multi-site support?
P.S. I'm aware there are a few questions on SO already concerning comparisons between the two CMS projects but I am specifically interested in a multi-tenancy comparison.
Let me start by saying that Orchard is a brilliant CMS, from what I've seen of it so far I prefer it to Umbraco.
But one word of warning, I had problems running a very small Orchard site on cheap shared hosting (in fact I was also using winhost) because of app pool memory limits. Orchard is quite memory hungry and in my case would jump to around 100mb of memory within a few page views. Most shared hosting packages limit the app pool to 100mb so in my case it was recycling the app pool on every other page view. See this thread as an example. I ended up using Umbraco instead.
Sorry, I know this is a bit off topic and doesn't answer the multi-tenancy question. But test for this early on in development.
The latest version of Umbraco has essentially the same multi-tenancy setup as it had in 4.03. You can assign a domain to any content item directly under the "Content" folder in the Content section of the admin.
I have done a few multi-site setups with Umbraco and I can understand how the skinning piece gets interesting fast. We have used a CSS based solution to the skinning issue (select CSS files at the root). That seemed better than a whole different set of Templates for each site.
Any thoughts on how you would like it to work? Could be a good package in there somewhere.
Sorry, I can't answer the Orchard piece as I haven't used it and only have cursory knowledge of it.

Resources