Site hosting for housewives

Started by messnct, Dec 05, 2022, 02:36 AM

Previous topic - Next topic

messnctTopic starter

Let's establish the minimum system requirements for the solution:

- Windows 7 (IIS 7.5)
- PHP 5.2
- MySQL 5



While this software is outdated and will not be used, the latest version of MySQL 8 is also incompatible with Piwigo.

- Windows 10 (IIS 10)
- PHP 7.3.0
- MySQL 5.7.24

To begin, we need to install the IIS Web Server. The web server comes included in the Windows package, and we just need to activate it by going into the control panel and selecting the "enabling and disabling Windows components" menu and turning on the necessary components.

Once the installation is complete, we can open http://localhost in the browser to check if everything is working correctly.

Next, we need to install PHP by downloading the corresponding Non Thread Safe version and Visual Studio Compiler for the selected PHP version. We also need to download PHP Manager from Microsoft and register the unpacked PHP in the IIS control panel in order to check its operation.

Finally, we need to install MySQL Community Server by downloading the web installer and selecting the latest version of MySQL 5.x according to the system bit depth. It's important to set a strong password for the root user and create a new user with full rights and another strong password, allowing login only from localhost.

This guide is aimed at novice users who may not have heard of Nginx and Apache yet, but with these steps, they should be able to successfully host sites using Piwigo on their own.
  •  

BrettUK

Allow me to explain why this idea is untenable:

1. Web solutions are designed specifically for the LAMP architecture (Linux+Apache+PHP+MySQL) and are not optimized for IIS and Windows.

2. Directory structures in Unix and CP/M systems are constructed using different principles, meaning that a website built on W+I would need to be ported to LAMP.

3. There is no clear understanding of how the system will perform in a production environment.

4. Windows is designed for use on client machines, not server rooms.

5. Licenses for Windows can range from $100 to $1,000 per person, making it an expensive option.

6. There is a lack of file rights management capabilities, which can cause security issues.

It's important to carefully consider all aspects before deciding on a web solution, as there are various factors to take into account beyond just the technology used.
  •  

SeMl

The current trend of using Docker is based on the principles of simplicity in deployment, isolation, and scalability. Setting up a home site on pure Linux is much easier than deploying it on Windows with IIS, which can take up to an hour of poking around in the interface. You can simply use apt install, adjust a few configurations, and get the site up and running faster compared to deployment on Windows.

Creating a container using Docker is as simple as writing a dockerfile that includes the necessary commands used before.

If you have a website with advanced functionalities such as AD, ASP.Net, MSSQL and are using Windows, then relying on IIS is necessary. However, for websites utilizing PHP and MySQL, LAMP is the way to go. While Windows has its strengths, hosting is not one of them.
  •  

aricajwalker

I never imagined that by 2023, someone would recommend using Windows with AIS for hosting a website at home. Even without Docker, LAMP is a better option due to its resource efficiency (since fuck and AIS consume a lot of resources) and ease of setup. As for comparing the performance of IIS with Nginx + php-fpm or Apache + mod_php, there's no point in arguing - the former is inferior.

It's difficult to justify why someone would choose to use Windows with AIS for hosting a website when there are more efficient and effective solutions available. The use of LAMP or other alternatives such as Nginx + php-fpm or Apache + mod_php is recommended for anyone looking to host a website at home.
  •  

magicyan

For more up-to-date installations, it's recommended to use the latest versions of the software stack, such as Windows 10, IIS 10, PHP 7.3.0, and MySQL 5.7.24. This ensures better performance, security, and compatibility with the latest features.

There are several site hosting services available that cater to different needs and skill levels. Some popular options include:

1. Shared Hosting: This is a common and economical option for beginners. With shared hosting, multiple websites are hosted on a single server, sharing its resources. It's relatively easy to set up and manage, making it suitable for housewives who may not have extensive technical knowledge.

2. Managed WordPress Hosting: If you plan to build your website using WordPress, managed WordPress hosting is worth considering. These services are optimized specifically for WordPress sites and offer features like automatic updates, enhanced security, and expert support.

3. Virtual Private Server (VPS) Hosting: VPS hosting provides more control and flexibility compared to shared hosting. It involves partitioning a physical server into multiple virtual servers, giving each website its dedicated resources. VPS hosting requires more technical proficiency to set up and manage.

4. Cloud Hosting: Cloud hosting utilizes multiple interconnected servers to distribute resources and ensure high availability. It's scalable, meaning you can easily adjust resources as your website's needs change. Cloud hosting offers excellent reliability and performance but may require some technical expertise.

When choosing a hosting service, consider factors such as reliability, security, customer support, pricing, and ease of use. It's also essential to assess the specific features and requirements of your website, such as storage capacity, bandwidth, database support, and scripting language compatibility.

It's worth noting that many hosting providers offer user-friendly website builders or one-click installers for popular content management systems like WordPress, Joomla, or Drupal. These tools simplify the process of creating and managing your website, even for those without technical experience.

If you're just starting out and looking for beginner-friendly site hosting services, here are a few popular options:

1. Bluehost: Bluehost is known for its user-friendly interface and excellent 24/7 customer support. They offer shared hosting plans with one-click WordPress installation, making it easy to set up your website.

2. SiteGround: SiteGround is another hosting provider that caters to beginners. They offer shared hosting plans with features like a free website builder, automatic daily backups, and a reliable customer support team.

3. HostGator: HostGator is known for its simple and intuitive interface, making it suitable for beginners. Their shared hosting plans come with features like a free website builder, unlimited disk space, and a 45-day money-back guarantee.

4. Wix: Wix is a popular website builder that also provides hosting services. It offers an easy drag-and-drop editor, hundreds of templates, and a range of features to help beginners create their websites without any coding knowledge.

5. Squarespace: Squarespace is another website builder that offers integrated hosting. They provide beautiful templates and a user-friendly interface, making it simple to create professional-looking websites.

6. WordPress.com: If you prefer a fully managed solution, WordPress.com is an excellent choice. It offers free hosting with a subdomain (e.g., mywebsite.wordpress.com) or paid plans for custom domains. It specializes in WordPress websites and takes care of hosting, security, and updates.

These hosting services usually provide user-friendly interfaces, customer support, and various tools to simplify website creation and management for beginners. It's important to consider factors like pricing, scalability, storage capacity, bandwidth, and any specific requirements you may have for your website.
  •