0% found this document useful (0 votes)
32 views

Lesson 18 - Develop Website Backend System

Uploaded by

Dhoy Navarro
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Lesson 18 - Develop Website Backend System

Uploaded by

Dhoy Navarro
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 81

age 1 of 81

Lesson 18 – Develop Website Backend System (Part 2)

Objectives:
1. Identify and utilize Web/Cloud Server Provider.
2. Select Server application.
3. Select Server OS.
4. Configure and install web server user access and software.
5. Register and configure domain name.
6. Install and configure server-side scripting language and database server.
7. Install and configure security and firewall.
8. Install and configure HTTPS/SSL.

Content:
Web/Cloud server provider is identified
The big three—Google Cloud, Microsoft Azure, and Amazon Web Services (AWS)—are considered the
established leaders. However, there are a host of other smaller or niche players that offer cloud services
as well, including IBM, Alibaba, Oracle, Red Hat, DigitalOcean, and Rackspace.

Best Cloud Hosting Providers – Comparison Table

Provider Key features (starter plan) Price

3 GB RAM, 2 CPU cores, 200 GB SSD storage,


unlimited bandwidth, server resources, From
Hostinger
dedicated IP address, 99.9% cloud uptime ₱499.00/month
guarantee, free domain, free daily backups

From
SiteGround 8 GB RAM, 40 GB SSD storage, 5 TB bandwidth
$100/month

512 MB RAM, 1 CPU core, 80 GB SSD storage,


DreamHost Based on usage
free limited-time bandwidth offer

512 MB RAM, 1 CPU core, 10 GB SSD storage,


DigitalOcean From $4/month
500 GB bandwidth

500 MB RAM, 1 CPU core, 10 GB storage, 500 GB From


Vultr
bandwidth, IPv6 only $2.50/month
age 2 of 81

1 GB RAM, 1 CPU core, 25 GB storage, 1 TB


Linode From $5/month
bandwidth

Amazon Web
Based on website needs Based on usage
Services

Google Cloud
Based on website needs Based on usage
Platform

Top 8 Cloud Hosting Providers

We will look at the standout features of the top 8 industry-leading web hosting companies. By
examining their strengths and key features, you can choose the right cloud web hosting platform
for your project.

1. Hostinger

Rating: 5/5
Best for: websites of all sizes, startups, and eCommerce shops
Price: starting at ₱499.00/month

Key features:
age 3 of 81

 Scalable cloud hosting solutions to accommodate website growth


 High-performance servers and SSD storage for fast loading times
 99.9% server uptime guarantee
 Advanced cloud security measures, including a free SSL certificate, to protect your data
 User-friendly control panel for easy management
 Excellent customer support available 24/7

Hostinger stands out as the best cloud hosting provider for numerous reasons, making it an
excellent choice for small to medium-sized websites, startups, and businesses.

Our cloud plans are based on scalability. As your website grows and requires more resources, you
can easily upgrade your cloud hosting plan without any downtime. This scalability, alongside our
global cloud data centers, ensures that your website can handle increased traffic and adapt to
changing demands.

You also get high-performance servers and SSD storage to guarantee fast page loading times,
improving user experience and search engine rankings. With our robust infrastructure, your
website performs optimally, even during peak traffic periods.

Security is also a top priority for us. We have implemented advanced security measures, including
a free SSL certificate, firewalls, and regular cloud backups, to protect your data and keep your
website safe from cyber threats.
Managing your cloud hosting environment is also made easy with Hostinger’s user-friendly control
panel hPanel. Whether you are setting up your free domain, managing email accounts, or installing
applications, hPanel’s intuitive interface allows you to efficiently manage your cloud hosting plan
without any advanced technical knowledge.

Additionally, Hostinger provides exceptional live chat customer support around the clock. Our
knowledgeable Customer Success team is ready to assist you with any technical issues or questions
you may have.

Whether you’re an online business or a growing startup, Hostinger offers the reliability and
features needed to host your website in the cloud and succeed online. Thanks to the scalability,
high-performance servers, advanced security measures, user-friendly control panel, and excellent
customer support, your website can handle anything.

2. SiteGround
age 4 of 81

Rating: 4.7/5
Best for: small to medium-sized businesses, WordPress websites
Price: starting at $100/month
Key features:

 Scalable resources
 Advanced caching technology
 User-friendly control panel
 Customer support with 24/7 availability
 Security measures for data protection

SiteGround’s cloud hosting services are particularly well-suited for small to medium-sized
businesses, WordPress websites, and developers. Note that the website hosting price point is
higher than other cloud providers, so it may be a better investment for resource-heavy projects.

One of the standout features of SiteGround’s cloud hosting service is its advanced caching
technology. It helps websites load faster, resulting in a better user experience and improved
chances of ranking higher on search engines.

SiteGround offers a user-friendly control panel for managing your cloud hosting environment. Even
if you’re not an experienced developer, navigating the interface and performing necessary
maintenance tasks is relatively easy.
age 5 of 81

However, SiteGround’s cloud hosting service is considerably more expensive than the market
average, making it less accessible for budget-conscious individuals or small businesses.
Additionally, its data center locations are somewhat limited, which can affect server latency for
users in certain regions.

3. DreamHost

Rating: 4.4/5
Best for: bloggers and small businesses
Price: based on usage
Key features:

 Scalable cloud hosting services


 DreamObjects storage service
 Custom control panel
 SSD storage for enhanced cloud server performance
 Privacy and data protection

DreamHost offers a range of cloud hosting plans suitable for bloggers and small businesses.
Scalable cloud hosting services provide the necessary resources to accommodate the growth of
your website.

Similar to Hostinger, it offers a custom control panel, making managing your cloud hosting
environment easier. The DreamObjects service offers a storage solution similar to Dropbox or
Google Drive. Available at an additional cost, it expands storage capacity as needed for storing and
retrieving backups and other types of files.

Unlike other cloud hosting providers, DreamHost’s pricing isn’t as transparent. In fact, the usage-
based pricing might make it harder for beginners to estimate how much their hosting service will
cost each month.
age 6 of 81

Its cloud hosting plans also don’t offer as many advanced features or developer-oriented tools as
some hosting providers, making it a less ideal option for seasoned developers. Additionally, it’s
important to note that DreamHost’s cloud hosting plans may not be as suitable for high-traffic or
resource-intensive websites.

4. DigitalOcean

Rating: 4.3/5
Best for: developers and startups
Price: starting at $4/month
Key features:

 Scalable “droplets” (cloud VMs) for resource allocation


 Developer-friendly environment with extensive documentation and community support
 Network of data centers for optimal performance and availability
 User-friendly control panel and API

DigitalOcean is a web host known for its developer-centric approach and scalable infrastructure.
Their cloud virtual machines (VMs) or “droplets” make it easy to scale resources. With a focus on
user experience, it provides a straightforward web hosting environment for developers.

The platform offers extensive documentation and a supportive community, making it a good choice
for developers seeking to collaborate with others. DigitalOcean’s network of data centers also
ensures low latency and high availability for your cloud-hosted applications.

Unfortunately, due to the developer-oriented nature of DigitalOcean’s cloud hosting packages, you
will need some technical expertise to fully utilize all its features. Additionally, compared to the
best cloud hosting providers, it doesn’t have as many pre-configured application stacks or
managed cloud hosting services available.

5. Vultr
age 7 of 81

Rating: 4.2/5
Best for: developers and businesses
Price: starting at $2.50/month
Key features:

 Scalable compute instances for resource allocation


 Network of cloud servers for better performance
 Flexible pricing with pay-as-you-go and monthly plans

Vultr is a web host that offers cloud web hosting with scalable compute instances, allowing you to
adjust resources according to your requirements.
Its global network of data centers aims to provide low latency and high availability – Vultr has
multiple locations to choose from.
This provider has both pay-as-you-go and monthly plans available, making it a popular web hosting
solution for developers, businesses, and individuals looking for a flexible hosting solution.

However, this infrastructure and flexible pricing come at a cost. Users need technical knowledge to
fully utilize its services. Vultr’s customer support is also limited, primarily focusing on
infrastructure-related issues.

6. Linode
age 8 of 81

Rating: 4.1/5
Best for: developers, businesses, and resource-intensive workloads
Price: starting at $5/month
Key features:

 Standard and high-memory hosting services


 Dedicated CPU options
 APIs for seamless automation and integration

Linode is a web hosting company catering to developers, businesses, and resource-intensive


projects. Its standard and high-memory web hosting plans are flexible, accommodating various
application and project requirements.

The dedicated CPU options provide consistent performance for resource-intensive projects. This
feature is particularly beneficial for applications that require consistent computing power and
stable cloud servers.
The APIs make this web host popular for developers seeking web hosting with seamless
automation, integration, and customization. Linode’s APIs enable developers to programmatically
control their infrastructure and streamline workflows.
While it provides a robust web hosting infrastructure, beginners should expect a rather steep
learning curve. Linode’s customer support is also primarily infrastructure-focused, meaning that
you need to understand how cloud computing works to get the most out of your cloud server.
7. AWS (Amazon Web Services)
age 9 of 81

Rating: 4.9/5
Best for: enterprises, large-scale websites, and complex applications
Price: pay-as-you-go pricing model, varies based on services and usage
Key features:

 Several cloud services for diverse needs


 Scalable infrastructure
 Security measures and compliance certifications
 Network of data centers
 Integration capabilities

AWS, Amazon’s cloud computing platform, offers cloud hosting features mainly for enterprises and
large-scale websites with complex infrastructure requirements. It has an extensive range of cloud
solutions, including storage, computing power, databases, and analytics.
With a flexible infrastructure and multiple availability zones, it lets users dynamically adjust
resources to match fluctuating demands.
Users also get advanced features such as encryption, access control, and comprehensive
compliance certifications, making it a good choice for organizations with sensitive data and
regulatory requirements.

With a global network of data centers, AWS aims to offer low-latency connections and optimal
performance across different regions. It also integrates with various services and tools, giving users
flexibility and customization options.

While AWS is a feature-rich platform, it’s not the first choice for users with little technical
expertise. Compared to other cloud hosting options, it isn’t as easy to navigate and manage.
Additionally, the pay-as-you-go pricing model means costs can vary based on usage and specific
services utilized.
age 10 of 81

8. Google Cloud Platform (GCP)

Rating: 4.8/5
Best for: machine learning applications and data-intensive projects
Price: varies based on services and usage
Key features:

 A comprehensive suite of cloud services


 Scalable infrastructure
 Advanced security features and compliance certifications
 Data analytics and big data processing capabilities
 Integration with other Google services

Google Cloud Platform (GCP) offers a wide range of cloud services tailored to businesses, including
startups, enterprises, and organizations with data-intensive workloads.

GCP’s scalable infrastructure ensures high-performance connectivity and low-latency connections


across regions. Features like data encryption, identity and access management, and compliance
certifications make it a good choice for projects requiring robust security.

The data analytics and big data processing capabilities of GCP make it easy for businesses to
extract valuable insights from large datasets. With services like BigQuery and Dataflow,
organizations can efficiently process and analyze data for informed decision-making.

As part of the Google ecosystem, GCP easily integrates with other services such as Google
Workspace and Google Maps, providing a cohesive environment for businesses using multiple
Google tools.
age 11 of 81

One major downside of GCP is its steep learning curve. Pricing also varies based on usage and
specific services employed, meaning you need to know what resources your site needs for optimal
performance.
Criteria for Choosing the Best Cloud Hosting Platform

Selecting the best cloud hosting provider is a crucial decision that can significantly impact the
performance and success of your website. Consider the following criteria to make an informed
choice:

1. Scalability

The best cloud hosting providers offer scalable resources, allowing you to easily upgrade or
downgrade your hosting plan as your website’s needs evolve. Scalability ensures that your website
can handle increased traffic and accommodate future growth without experiencing performance
issues.

2. Reliability and Uptime

A reliable web host should guarantee high uptime, minimizing downtime and ensuring that your
website is accessible to visitors at all times. Look for providers with a proven track record of stable
performance and reliable infrastructure.
3. Security Measures

Ensure that your chosen web hosting platform has robust security measures in place to protect
your website and data. Look for features like free SSL certificates, firewalls, malware scanning, and
regular backups. Data encryption and intrusion detection systems are also crucial for safeguarding
sensitive information.

4. Performance and Speed

Opt for a cloud hosting platform that utilizes high-speed servers, SSD storage, and content delivery
networks (CDNs). These technologies ensure fast page load times, enhancing the user experience
and improving search engine rankings.

5. Customer Support

Reliable customer support is vital when issues or questions arise. Look for a cloud host that offers
24/7 customer support through various channels such as live chat, phone, and ticketing systems.
Responsive and knowledgeable support helps resolve technical issues promptly and provides
guidance when needed.
age 12 of 81

6. Pricing and Value

Compare the pricing structures and features different hosting companies offer. Consider the value
provided in terms of resources, performance, security, and customer support. Remember that the
cheapest cloud hosting plan may not always offer the best value for your specific requirements.
7. User-Friendly Control Panel

An intuitive control panel makes it easier to manage your cloud hosting environment, even if you
don’t have advanced technical knowledge. Look for a provider with a user-friendly interface that
allows you to easily manage your website, domain settings, email accounts, and other hosting
features.

8. Reputation and Reviews

Research the reputation of the cloud hosting platform by reading reviews and testimonials and
checking independent sources for feedback from other users. Consider the users’ experience and
overall satisfaction, and pay attention to any recurring issues mentioned in reviews.
How to Choose the Right Cloud Hosting Provider

Choosing the right cloud web host is crucial in establishing a reliable and high-performing online
presence. To ensure you make the best decision for your website’s needs, consider the following
steps:

1. Assess Your Hosting Requirements

Start by evaluating your website’s requirements. Consider factors such as the size of your website,
expected traffic levels, storage needs, and any specific software or applications you may require.
This will help you determine the necessary resources and features your cloud host should offer –
for instance, you might realize you need a free CDN, a free domain, and unlimited bandwidth to
get the most out of your site.

2. Research and Compare Providers

Conduct thorough research on different web hosts. Pay attention to factors such as reputation,
customer reviews, and the range of services they offer. List potential providers that align with your
hosting requirements and compare them based on features, pricing, performance, and support.

3. Consider Scalability and Flexibility

Look for a web host that offers scalable solutions. Your website’s needs may change over time, so
choosing cloud-based hosting that allows you to easily upgrade or downgrade your resources as
needed is essential. Flexibility is crucial in accommodating your website’s growth and traffic
fluctuations.
age 13 of 81

4. Evaluate Performance and Uptime

Performance and uptime are vital for the success of your website. Look for cloud hosting providers
with robust infrastructure, high-speed servers, and solid-state drives (SSDs) for fast loading times.
Additionally, ensure the provider has a reliable uptime track record, offering a 99.9% or higher
uptime guarantee.

5. Examine Security Measures

Website security should be a top priority. Verify that the cloud hosting platform implements strong
security measures, such as firewalls, DDoS protection, malware scanning, and SSL certificates.
Regular backups and cloud disaster recovery options are also essential for safeguarding your data.
6. Assess Customer Support

Reliable customer support is crucial if you encounter any technical issues or need assistance with
your cloud management. Look for a web hosting company that offers 24/7 customer support
through multiple channels. Prompt and knowledgeable support ensures the timely resolution of
any hosting-related concerns.

7. Consider Pricing and Value

Compare the pricing structures of different cloud web hosting sites. Assess their value in terms of
features, resources, performance, and support. Be cautious of overly cheap plans that may
compromise service quality, but also avoid overpaying for unnecessary features you won’t need.
Look out for top cloud hosting providers offering add-ons, such as free domain registration, free
SSL certificates, and free migration services.

8. Read the Terms and Conditions

Carefully review the terms and conditions, including the refund policy, service-level agreements
(SLAs), and any limitations or restrictions. Ensure you clearly understand what is included in your
hosting plan and whether there are any potential additional costs.

9. Seek Recommendations and Reviews

Look for recommendations from trusted sources or industry professionals who have experience
with different web hosts. Additionally, read customer reviews and testimonials to understand how
existing customers like the platform. Pay attention to any recurring themes and feedback about
performance, service reliability, and customer support.

10. Take Advantage of Free Trials and Promotions

Many web hosts offer free trials or money-back guarantees. Take advantage of these offers to test
their services firsthand and assess the performance, ease of use, and support quality before
committing to a long-term plan.

Server specifications are selected


age 14 of 81

Server specifications provide detailed information for your server, including dimensions, electrical,
power, temperature, environment, and service clearances. Server specifications provide detailed
information for your server, including dimensions, electrical, power, temperature, environment, and
service clearances.

Types of Web Servers to Consider

There are two types of web servers to consider for hosting your website:

1. Virtual private server (VPS)


2. Dedicated server

A dedicated server is exactly what it sounds like – a server that’s dedicated to your use.

There are no other users on the server and you have access to all its resources such as RAM, storage
space and processing power.

A VPS shares one server’s resources between several users, with each user getting a fixed amount of
the total available pool of resources.
There are advantages and disadvantages to both types.

A VPS is usually more affordable than a dedicated server. However, with a dedicated server, you can
get more power and know that whatever server specs you choose will be used by you and you alone.
age 15 of 81

If your website gets enough traffic, you’ll reach a point where a VPS won’t be powerful enough to
keep up and a dedicated server would be the better choice.
Alternatively, you may be looking for a dedicated server because of a high bounce rate, needing an
unmetered bandwidth port, or some other reason that makes a dedicated server more desirable .

What Kind of Server Specifications Do You Need to Look For?

A lot of the specifications you’ll see when comparing web servers are the same ones you’ll see when
buying a PC:

 Processor (CPU) speed and number of cores


 RAM (also called memory)
 Storage space including hard drives vs SSD

We’ll describe what each of those means.

Processor (CPU) Type

The CPU, or Central Processing Unit, is the “brain” of your server. That’s where all the website
requests, data manipulations, and other activities are processed.
The CPU is actually one of the most important pieces of the puzzle when deciding on your server’s
specifications.

For your specs, you can go with either a single processor or dual processor, depending on your needs.
Dual processors give you at least twice the amount of processing power of a single processor, even
more in some cases.

The clock speed and number of cores both have a bearing on performance, so don’t only look at the
clock speed (GHz) when comparing.

More cores at a lower clock speed can offer faster performance in a lot of cases. More cores mean the
CPU can work on more things at the same time.

Dual processors with a higher number of cores multiply the processing power even further.

For many years, there was no question that Intel processors were better for dedicated servers when
compared to AMD processors. In recent years, however, AMD processors have drastically improved
and are now giving Intel a run for their money.

When shopping around for Intel processors, you’ll find servers with both the Core series of CPUs used
in PCs, like the i3 and i7, and the Xeon series.

The Xeon line is designed for server use and has features like more CPU cores and better longevity
under load that make them more suitable for a web server.
age 16 of 81

An important metric to use when estimating the performance of a CPU is the PassMark Benchmark.
PassMark is an independent software company that creates software for performing benchmark tests
on servers and PCs.

These benchmark scores help us judge how powerful a CPU is compared to others. For example, a
Xeon E3-1246v3 has a benchmark score of 7188. By itself, that figure means nothing.

However, when compared to another CPU, such as AMD Ryzen 3700X which has a benchmark score of
22825, we can estimate that this AMD CPU is likely to outperform the former Intel CPU.

For single processor use, we often recommend our best-selling Xeon E3-1246v3 dedicated server . This
CPU offers the best value, meaning, it yields great performance for a very reasonable price.

As mentioned, if you require a stronger single processor CPU, check out AMD Epyc 7252 which as
mentioned, features a benchmark score 3x that of the Xeon E3-1246v3.

For dual-processor needs, we recommend the Dual Xeon E5-2650 dedicated server which features a
benchmark score of 12762.

If you prefer an unmetered dedicated server , you can pick the same processors with an unmetered
bandwidth plan.

If you’re not sure which processor is best for you, you can use our Server Recommendation
Wizard or get in touch with us and we’ll help you make the right choice.

RAM Capacity

RAM measurements are similar to what you see in PCs but may seem low in comparison. 2GB of RAM
isn’t enough to run most modern applications on the desktop but it may be plenty for your web server
if your website is made up of text content with a few images.

On the other hand, if your website runs on a content management system that uses a database, such
as WordPress, or you host a lot of multimedia content on your server, you may need to look at 16GB
or even 32GB of RAM.

RAM is much faster to access than a hard drive or SSD storage, so your server will be faster to respond
if it can keep more of the information it needs in RAM.
Things that will require more RAM include:

 Running a content management system like WordPress or Drupal


 Running a control panel like cPanel/WHM
 Using scripting languages like PHP and Perl
 Running large databases
 Streaming content from the server, such as videos
 Operating a game server, such as Minecraft
age 17 of 81

The number of visitors on your site at any given time also has a bearing on the amount of RAM
needed. More simultaneous visitors mean more RAM will be needed to serve web pages to them.

Luckily, RAM is a component that is usually very easy to upgrade so you can start off low and upgrade
as you need more RAM.

In this context it’s important to remember that different processors support different amount of
maximum RAM capacity. For example, the Xeon E3-1246v3 supports up to 32 GB of RAM. Choose a
CPU that will support your growth.

Bandwidth

Bandwidth isn’t exactly part of the server specs, however, the amount of bandwidth included in your
hosting plan is important, particularly if your website gets a lot of visitors or it delivers a lot of
information to your visitors.
There are two factors to bandwidth: the amount of bandwidth and the port size.
Amount of Bandwidth Included

The amount of bandwidth is how much information you can deliver to your site visitors over the
course of a month.

If you’re on a metered server and your website serves up more than the bandwidth limit, you’ll have
to pay additional fees.

Think of bandwidth as being similar to the data component of a cellular plan.


If you have a plan with a data cap, say 5Gb or 10Gb, you can use up to that amount for your normal
monthly fee. If you go over that limit, you’ll pay overage charges.

Bandwidth Port Size

The bandwidth port size determines how much information can be delivered at a given point in time.

While you may think bandwidth is not as important when choosing server specifications – it actually
can make a huge difference.

Think of bandwidth as the number of lanes in a highway, with the data being similar to the cars on the
road.

Having a larger port size is like having more lanes – when there’s a lot of traffic, more lanes means the
cars can move faster.

Not having enough lanes causes traffic jams – or in the case of your website, slow performance, lags,
and buffering.

Keep in mind that a larger port size is only necessary if you’re beyond the capacity of something
smaller.
age 18 of 81

For example, if your site is not using the full capacity of 1 Gbps, a 2 Gbps port won’t make any
difference.

Unmetered dedicated servers give you an unlimited amount of data transfer, kind of like an all-you-
can-eat buffet of data.

The type of information you’re delivering on your website will determine how much bandwidth you
need. Text-based websites use very little bandwidth, while audio, images, and video use more.

Going back to the cellular comparison.

Many cell companies call their plans “unlimited,” but once you reach a certain amount of data, they’ll
start slowing down your transfer speeds.

Some hosting companies do the same thing with their unmetered dedicated servers, but not Maple-
Hosting.

With our True-Unmetered Dedicated Servers you can use a truly unlimited amount of bandwidth
through whatever port size you choose.

If you start with a 1 Gbps port size, you can have as much data transferred through it as you want.

As your website gets more popular or you start delivering larger amounts of data to your visitors, you
can upgrade to a larger port to avoid website “traffic jams” like buffering, site lag, dropped packets,
and other unpleasant symptoms.

How to Choose the Right Unmetered Bandwidth Port Size

Unmetered bandwidth is ideal if you’re streaming media like music or video from your website or
application.

These types of usages end up consuming a lot of data so you can run through a bandwidth limit pretty
quickly on a metered dedicated server or VPS, ending up with big overage charges.

These charges can often run into hundreds or even thousands of dollars. If you’re streaming media, go
with a True-Unmetered Dedicated Server and make sure you choose the right port size.

When choosing your port size for streaming, the general rule of thumb (for video streaming) is:

Number of concurrent users X Stream rate = Port size

Lucky for you, we make it really easy to calculate your bandwidth requirements. We’ve created a one-
of-a-kind server recommendation wizard .
age 19 of 81

This wizard will ask you a few simple questions and will then calculate the amount of bandwidth and
RAM you need, as well as provide a dedicated server recommendation so you can get started right
away.

Stream Rates for Common Video Sizes

Medium Resolution (640x360) - 800 to 1200 kps


High Resolution (960x540 or 854x480) - 1200 to 1500 kps
High Definition 720p (1280x720) - 4000 kps
High Definition 1080p (1920x1080) - 4000-8000 kps

So, using these examples, if you’re streaming HD 720 video to 1000 people, this would be the
calculation:

1000 (number of users) X 4000 (stream rate) = 4,000,000 or 4Gbps

Note: This is the concurrent numbers of users, not the total number over a period of time. This
calculation is based on the maximum number of people who would be streaming the video at any
given time.

Maple-Hosting offers a variety of options for unmetered servers so whatever your needs, we’ve got
you covered.

Storage Space

The type of information you host on your website will dictate how much storage you need as well.

Again, text and a few images don’t need that much space while a lot of multimedia or large databases
will take up more storage.

A bigger consideration when it comes to your server storage specifications is the type – spinning hard
drive or SSD.

Hard drives come in larger capacities and are cheaper when you get into the larger sizes but they’re
much slower than SSDs.

They’re also less durable over the long-term.

Unless you have large storage requirements, SSD is the best choice for storage.
Things that will often need more storage on your server include:

 Multimedia files such as audio and video


 Hosting your own email server
 Large databases
age 20 of 81

RAID Arrays

Another specification you’ll often see that’s related to your server’s storage is RAID – Redundant Array
of Inexpensive (or Independent) Disks.

RAID technology lets you spread your server’s data across multiple drives, allowing for both backups
and redundancy if one of the drives fails.

There are several types of RAID, each with different methods of storing your data. The right choice
will depend on the number of drives in your server and exactly what you want to do with it.
Server Software Requirements

Our products can be run under the following database software. The specific requirements are a little
different depending on which database software you are using.

Operating System

o Windows Server: 2012 or higher


o Windows: 7 or higher
Microsoft SQL Server

o Minimum Database Version: 2016


o .NET Framework: 4.6 or higher (should be included in SQL Server installation)
o If running under Windows 8.1 or Windows Server 2012 R2: Requires April 2014 patch before
installation: KB2919355
PostgreSQL
o Minimum Database Version: 11

Additional Application Software Requirements


Activ8

o .Net Core framework: 2.2 or higher

Server Hardware Requirements

Below, you’ll find a table that outlines the server hardware requirements that you would need for
installation.

We have broken it down into three sections – Minimum Functionality, Intermediate Functionality and
Advanced Functionality.

Minimum Functionality
age 21 of 81

This level functionality is meant for businesses with less than 20 stores, less than 30 000 products and
less than 5 users of the software.

Intermediate Functionality

This level functionality is meant for businesses with less than 150 stores, less than 50 000 products and
less than 15 users of the software.

Advanced Functionality

Businesses with more than 150 stores, 50 000 products and 15 users should prepare hardware at this
level for optimum performance.
Hardware Requirements

Minimum Intermediate Advanced


CPU 2 Ghz Dual Core 2 Ghz Quad Core 3 Ghz Quad Core
RAM 4 Gb 8 Gb 16 Gb
HDD Size 50 Gb 100* Gb 300* Gb
* Specified size is a guide and larger datasets will require increased capacity.

Server operating system is selected and installed

A server is a computer or system that provides resources, data, services, or programs to other
computers, known as clients, over a network. In theory, whenever computers share resources with
client machines, they are considered servers.

How to Install Windows Server 2019?


age 22 of 81

Installing Windows Server 2019 is pivotal in setting up reliable server infrastructure that can handle
many of your organizational needs. Whether you’re running a small business network, managing a data
center, or hosting websites and applications, Windows Server 2019 provides a top features platform to
meet your development or work needs.

Windows Server 2019 offers a plethora of enhancements over its predecessors, including improved
security features, enhanced virtualization capabilities, and better performance. It’s designed to be a
stable and scalable foundation for your network infrastructure, to ensure your systems run smoothly
and securely.

At the end of this guide, you will have a better understanding of the process to install Windows Server
2019, ensuring that you have a clear and accessible roadmap to deploy this powerful operating system
on your hardware successfully. Don’t forget to also choose the best cloud server hosting setup for your
deployment.

Whether you are a top dev professional, working freelance, a 9-5 job, or a beginner trying to work
your dedicated Windows server journey, this tutorial will demystify the installation process of windows
server deployments, enabling you to harness the potential of Windows Server 2019 for your business or
personal needs. So, let’s look into the intricacies of installing Windows Server 2019 and give you the
opportunity to work on this crucial aspect of server management.

Prerequisites to Install Microsoft Windows Server 2019

The Windows Server 2019 requirements are very similar to Windows 10 system requirements.

 Processor – 1.4 GHz 64-bit processor


 RAM – 512 MB
 Disk Space – 32 GB
age 23 of 81

 Network – Gigabit (10/100/1000 based) Ethernet adapter


 Optical Storage – DVD drive (if installing the operating system from DVD media)
 Video – Super VGA (1024 x 768) or higher -resolution
 Input Devices – Keyboard and mouse
 Internet – Broadband access

How to Install the Windows Server Operating System

Before we get started with the installation, you will need a copy of Windows Server 2019 to enable you
to work on your installation. To do this, visit the Microsoft Website and navigate to the Windows
Server Evaluations.

Here, you can download various versions of the evaluation product, including Windows Server 2019,
that you can use for free for 180 days. You can evaluate using the Azure, ISO, and VHD. You can install
your Windows Server 2019 on a virtual machine-like Hyper-V. Let’s get started.

Windows Server 2019 Installation Steps

Step 1: Create a boot mode

We need to boot from the installation media like the ISO file downloaded. Download a few virtual
machines to see which one works for you. You can choose Hypervisor and boot the ISO on the virtual
machine. This should lead you to a new screen. If you need to use hardware, choose an 8GB memory
stick.

Step 2: Select Language, Keyboard type, and Time Zone

Now that you have a new screen up. Make sure you are on a screen that says Windows Setup. It should
be a blue screen where you can choose your language, time, and currency format, and keyboard.

Step 3: Install Windows Server 2019

On the new screen, you want to click on Install Now to begin installation. Now, this could take a few
minutes or seconds, depending on your RAM size.

Step 4: Choose the Windows Operating System

You need to choose the Windows operating system that works best for you at this stage, depending on
our needs. We have four types:

 Windows Server 2019 Standard Evaluation


 Windows Server 2019 Standard Evaluation (Desktop Experience)
 Windows Server 2019 Data Center Evaluation
 Windows Server 2019 Data Center Evaluation (Desktop Experience)

The desktop experience version installs the full graphical interface version of the operating system,
which is ideal for learning and evaluating Windows Server 2019. The option that does not include the
age 24 of 81

Desktop Experience will install a server-core version of the OS, which doesn’t include a GUI, and it is
managed using PowerShell or remotely with Windows Admin Center. Learn more about how to install
PIP on Windows.

Step 5: Applicable Notices

Click Next, read through the licensing terms, check the box “I accept the license terms,” and click Next
again.

Step 6: Determine Installation Type

Here, we have two choices, which are Upgrade and Custom. Now, the custom option will allow us to
install a new and clean Windows Server 2019, while the Upgrade will help you upgrade the current
operating system on your virtual machine. However, we are working with a brand new installation here,
so you should choose the Custom option.

Step 7: Where to install Windows

At this point, you need to allocate disk space to install the Windows Server 2019 operating system. You
can allocate a specified size to house the Windows OS or install it in the currently allocated disk space.
However, it is a good idea to house the operating system in a separate partition. For instance, if your
server will be a file server, keeping the operating system separate from your user data is best. To do this,
click on NEW and specify the space that you need to allocate for your file storage. Make sure you leave
at least 60GB available for the Windows Server operating system. Allocate and click APPLY.

Read more on how to install Plesk on a Windows Server.

Step 8: Ready to Install Windows

Make sure the primary partition is selected, and then click NEXT. Now you should get a screen that says
‘Installing Windows’ with steps like, ‘Copying Windows files’, ‘Getting files ready for installation’,
‘Installing features’, ‘Installing updates’, and ‘Finishing Setup’. Sit back, as this could take a couple of
minutes, and restart about two to three times before installation is completed.

Step 9: Customize Settings and Enter Your Administrator Password

Your new screen should have a field to specify your admin password. Your password must meet
Windows server complexity requirements. Type in your password and click Finish.

Step 10: Configuring the Server

At this point, the installation has been completed. It’s time to check for security vulnerabilities and to
make sure things like Windows Deployment Services (WDS) Transport Server role were added to the
Server Core, Windows Defender Advanced Threat Protection (ATP), and Windows Time Service.

Web server user access is configured


age 25 of 81

You can use the system user accounts, or you can create separate web server user accounts. The
advantage of using system user accounts is that you can leverage the existing security and
authentication mechanisms of your operating system.

Windows Server 2019 Managing Users and Groups

A Complete Guide to Managing Users and Groups in Windows Server 2019

The robust operating system Windows Server 2019 is capable of efficiently managing users and groups.
Any organization must manage users and groups in Windows Server 2019 because it improves security
and resource management.

This guide will cover effective user and group management in Windows Server 2019.

Establishing Users and Groups

Creating new users and groups is the first step in managing users and groups in Windows Server 2019.

Follow these steps to create a new user:

1. Launch the "Local Users and Groups" section of the Server Manager console.
2. From the context menu, click "Users" and choose "New User."
3. Type the user's name, full name, description, and password in the "New User" dialogue box.
4. To create a new user, click "Create."

The steps below should be followed to create a new group:

1. Launch the "Local Users and Groups" section of the Server Manager console.
2. From the context menu, click "Groups," then choose "New Group."
3. Enter the group name, description, and group type in the "New Group" dialogue box.
4. To create the new group, click "Create."
age 26 of 81

Windows Server Managing Users

Taking care of Users and Groups

The next step is to manage new users and groups efficiently after they have been created.

Various tools are available in Windows Server 2019 to manage users and groups.

These tools consist of:

1. Active Directory Users and Computers: This application is used for Active Directory user and
group management.
2. Local Users and Groups: On a local computer, users and groups are managed using this tool.
3. PowerShell: PowerShell is an effective scripting language that can be used to manage users and
groups.
Active Directory Users and Computers User Management

Follow these steps to manage users with Active Directory Users and Computers:

1. Launch the console for Active Directory Users and Computers.


2. Locate the container labelled "Users."
3. Double-click the user whose account you wish to manage.
4. You can change a number of attributes, including the user's name, description, password, and
group membership, in the user's properties dialogue box.
5. To save the changes, click "OK."
age 27 of 81

Using Active Directory Users and Computers for Group Management

The steps listed below can be used to manage groups with Active Directory Users and Computers:

1. Launch the console for Active Directory Users and Computers.


2. Select the "Groups" container from the list.
3. Double-click the group that needs management.
4. You can change a number of attributes, including the group's name, description, membership,
and scope, in the group's properties dialogue box.
5. To save the changes, click "OK."

Using PowerShell for User and Group Management

An effective command-line interface for managing users and groups is offered by PowerShell.

Follow these steps to manage users and groups using PowerShell:

1. Launch the PowerShell console.


2. Use the "Get-ADUser" and "Set-ADUser" cmdlets to manage users.
3. Use the "Get-ADGroup" and "Set-ADGroup" cmdlets to manage groups.
4. Use the appropriate parameters to change different user and group attributes.

Managing Permissions for Users and Groups

Enhancing security and resource management requires managing user and group permissions.

Various tools are available in Windows Server 2019 to manage user and group permissions.

Making the Management of Users and Groups simple

These tools consist of:

1. File Explorer: File Explorer can be used to control folder and file permissions.
2. Security Configuration Wizard: You can set up security settings on servers and applications using
the Security Configuration Wizard.
3. Group Policy: Group Policy allows users and groups to have their security settings customized.
age 28 of 81

File Explorer's User and Group Permissions Management

1. Click "Properties" by using the right-click menu on the file or folder you want to manage.

2. Select "Security" from the tabs.

3. To change the permissions, click the "Edit" button.

4. You can edit the permissions for users and groups in the "Permissions for [file or folder]" dialogue box
by adding or removing them.

5. To save the changes, click "OK."

Utilizing Group Policy to Manage User and Group Permissions

The steps listed below can be used to manage user and group permissions using Group Policy:

1. Launch the console for Group Policy Management.


2. Make changes to an existing Group Policy Object (GPO) or create a new one.
3. Select "Computer Configuration> Policies> Windows Settings> Security Settings> Local Policies>
User Rights Assignment."
4. Double-click the user right that needs to be changed.
5. You have the option to add or remove users and groups in the user right properties dialogue
box.
6. Press "OK" to save the modifications.

Web server software is selected and installed

It is important to consider performance, security, scalability, platform, and community when choosing
the right web server. With an informed choice, you can ensure the success of your application and offer
users a high-quality experience.

What is Windows Admin Center?

Applies to: Windows Admin Center, Windows Admin Center Preview

Windows Admin Center is a locally-deployed, browser-based management tool set that lets you manage
your Windows Clients, Servers, and Clusters without needing to connect to the cloud. Windows Admin
Center gives you full control over all aspects of your server infrastructure and is particularly useful for
managing servers on private networks that are not connected to the Internet.

Windows Admin Center is the modern evolution of "in-box" management tools, like Server Manager and
MMC. It complements System Center - it's not a replacement.
age 29 of 81

How does Windows Admin Center work?

Windows Admin Center runs in a web browser and manages Windows Server 2022, Windows Server
2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows 11, Windows
10, Azure Stack HCI and more through the Windows Admin Center gateway installed on Windows
Server or domain-joined Windows 10. The gateway manages servers by using Remote PowerShell and
WMI over WinRM. The gateway is included with Windows Admin Center in a single lightweight .msi
package that you can download.

The Windows Admin Center gateway, when published to DNS and given access through corresponding
corporate firewalls, lets you securely connect to, and manage, your servers from anywhere with
Microsoft Edge or Google Chrome.

Learn how Windows Admin Center improves your management environment


age 30 of 81

Familiar functionality

Windows Admin Center is the evolution of long-standing, well known management platforms like
Microsoft Management Console (MMC), built from the ground up for the way systems are built and
managed today. Windows Admin Center contains many of the familiar tools you currently use to
manage Windows Servers and clients.

Easy to install and use

Install on a Windows 11 computer, and start managing in minutes, or install on a Windows 2022 server
acting as a gateway to enable your entire organization to manage computers from their web browser.

Complements existing solutions

Windows Admin Center works with solutions like System Center and Azure management and security,
adding to their capabilities to perform detailed, single-machine management tasks.

Manage from anywhere

Publish your Windows Admin Center gateway server to the public Internet, then you can connect to and
manage your servers from anywhere, all in a secure manner.

Enhanced security for your management platform

Windows Admin Center has many enhancements that make your management platform more secure.
Role-based access control lets you fine-tune which administrators have access to which management
features. Gateway authentication options include local groups, local domain-based Active Directory, and
cloud-based Microsoft Entra ID. Also, gain insight into management actions performed in your
environment.

Azure integration for on-premises and hybrid machines

Windows Admin Center has many points of integration with Azure services, including Microsoft Entra ID,
Azure Backup, Azure Site Recovery, and more.

Windows Admin Center in Azure

Using Windows Admin Center in the Azure portal you can manage the Windows Server operating system
of your Arc-enabled servers (preview), Azure Stack HCI cluster nodes (preview), and Azure VMs.

You can securely manage your machines from anywhere–without needing a VPN, public IP address, or
other inbound connectivity to your machine.
age 31 of 81

Deploy hyper-converged and failover clusters

Windows Admin Center allows for seamless deployment of hyper-converged and failover
clusters through an easy-to-use wizard.

Manage hyper-converged clusters

Windows Admin Center offers the best experience for managing hyper-converged clusters - including
virtualized compute, storage, and networking components.

Extensibility

Windows Admin Center was built with extensibility in mind from the beginning, with the ability for
Microsoft and 3rd party developers to build tools and solutions beyond the current offerings. Microsoft
offers an SDK that enables developers to build their own tools for Windows Admin Center.

Domain name is registered and configured

A domain is the website name that customers can use to reach your site. It acts like a street address, but
online! In addition, a business can also generate company emails for their employees and for customers
to contact. Domains are great for ensuring your business is identifiable online as well as making
everything much more professional.

Domain Extensions

The .com or .org at the end of a domain is called the domain extension. While you can choose almost
any domain extension, here are the most common ones:
.com: used for commercial businesses
.org: used for non-profit organizations
.net: used for networks/portals OR for when the .com version of the domain isn’t available

There are plenty of other domain extensions available to choose from, but it is recommended that you
stick with the above.

Creating a Domain for your Business

When generating ideas for your business’s domain, keep the following tips in mind:

Make sure it is recognizable! Domains are an important component of a brand’s online presence, and
people should be able to easily identify your business when they see it. The first place you should start is
your business’s name.
It should be easy to remember: customers need to be able to reach your website quickly and easily! Try
to keep it as short as possible without losing clear brand recognition.

If your desired domain is unavailable, you may need to resort to variations. One way to fix this is using a
commonly known abbreviation that your business goes by (for example, American Eagle’s website is
age 32 of 81

ae.com). Another option is adding keywords such as the industry your business is part of (just make sure
that the business who owns the desired domain isn’t in the same industry as you!).

How to Register a Domain Name?

Registering a domain name involves only a few short steps. But despite being a straightforward process,
it’s not something you want to rush.

Whether you’re publishing a blog, showcasing your portfolio online, or starting an online store, your
domain acts as the primary reference point for users looking to find your website, making it inseparable
from your brand.

Registering a domain name involves only a few short steps. But despite being a straightforward process,
it’s not something you want to rush.

Whether you’re publishing a blog, showcasing your portfolio online, or starting an online store, your
domain acts as the primary reference point for users looking to find your website, making it inseparable
from your brand.

How to register a domain name in five steps

1. Choose a domain name

If you don’t already have a name for your brand, it’s a good idea to merge the domain selection process
with the process of coming up with a brand name. Your domain name will be inseparable from your
brand, meaning they’ll both be more memorable if they’re alike. We put together an in-depth guide
for choosing your domain name if you need some extra help.

Photo courtesy of: Unsplash

If your company already has a name, your first-choice domain is likely YourBrand.com. But if that’s
taken, you have a couple options for making sure it’s easy for users to associate your brand with your
domain name:
age 33 of 81

 Use a suffix. Add a word to the end of your domain name to differentiate it. You could add the
name of your primary product (YourBrandShoes.com), your location (YourBrandCanada.com), or
something all-encompassing (YourBrandOnline.com, YourBrandStore.com).
 Use a prefix. Add an action-oriented verb at the start of your domain that draws attention to
your product (GetYourBrand.com, WearYourBrand.com, EatYourBrand.com).
 Use a different domain name extension. A domain name extension, also referred to as a top-
level domain (TLD), is the suffix that appears at the end of your domain. The most commonly
used domain extension is .com, but there are also region-specific domain extensions (such
as .ca, .us, or .eu) and a growing number of specialty domain extensions (such
as. shop or .store). Keep in mind that specialty domain extensions tend to be more expensive.

2. Check for domain availability

When users enter a URL in their browser, the browser sends a request to a global network of servers
that are able to locate your website using something called the domain name system (DNS).

Photo courtesy of: Unsplash

The DNS is a universally recognized, decentralized system for naming websites. This is what allows
computers, phones, and any other device that can access the internet to find the webpage a user is
looking for.
age 34 of 81

Checking domain availability takes only a couple of seconds, and nearly every registrar and hosting
service has a free domain name search tool that allows you to do this (via a record system
called WHOIS or RDAP). Here are a few tools for quickly checking the availability of a domain:

 Shopify
 Google Domains
 GoDaddy
 IONOS
 Bluehost
 Domain.com
 Namecheap
 HostGator

Remember, domain names are universal, so if a domain name is unavailable from one provider, it’s
unavailable from all of them. What’s great about these tools is they’ll often suggest similar domains that
are available if yours isn’t.

If your domain name is unavailable, you might get a message back about brokering the domain. This
means the domain name is taken, but the registrar offers a service where they’ll negotiate with the
domain owner on your behalf to try and get them to sell it to you.
age 35 of 81

Although snagging your top domain name choice might sound enticing, it’s important to understand the
risks associated with attempting to broker a domain name.

Broker service fees are paid in addition to domain registration fees, even if the current domain owner is
unwilling to sell the domain. The process can be time-consuming and delay the launch of your store. And
even if the current owner does make an offer, it’s likely to be far more expensive than just purchasing an
available domain.

Depending on your situation and how much capital you’re able to deploy, brokering a domain might be
the best route to go. But if you’re on a budget, you can always try some variations to keep costs low.

3. Choose a domain name registrar

A registrar is a company that reserves and registers domain names on your behalf. When you purchase a
domain name, either directly from a registrar or through a web-hosting service, it’s registered to the
DNS for you.

Photo courtesy of: Unsplash

Though there are more than a thousand accredited registrars, it’s wise to stick with the best domain
registrars. Using a common provider will make it easier to find info on managing your domain and to
troubleshoot issues you might have with syncing your domain to other services.

Domains can be purchased from a number of different types of businesses. You might choose to
purchase one from a website-building platform (like Shopify, Squarespace, or WordPress), a web-hosting
age 36 of 81

service (like HostGator or Bluehost), or directly from a domain registrar (like GoDaddy, NameCheap, or
Google Domains).

Many registrars offer hosting and vice-a-versa. This can be a great way to keep all your website tasks
under one roof, but isn’t necessary. You can purchase a domain one place and use a different company
to host, if you so choose.

How much does a domain name cost?

Domain names aren’t sold for a flat rate. Instead, they’re paid for on a recurring basis (usually annually).
When considering the costs of your domain, be mindful of the difference between the starting price and
the renewal price. Typically, basic .com domain names run in the ballpark of about $11.99 to $20 a year.
Premium domains, such as four-letter domains or incredibly common terms, can cost significantly more.

Domain providers often offer discounted rates on domains for the first year or two, especially if the
domain is purchased in addition to other services. The starting price is usually lower than the renewal
price, so when budgeting for the long term, make sure you factor in the price of renewing your domain
down the road.

On top of this, your domain extension can alter the cost of the domain. Specialty domain extensions
like .store are usually more expensive than available .com domains.

While the price of domains is important, there are a lot of other factors to consider as well. If you’re
looking for the domain provider that’s right for you, here are a couple of questions to ask yourself:

 How easy will it be to point my domain to my website? The advantage of purchasing a domain
from a web-building platform is that set-up tends to be fast and easy, since you’re only dealing
with one company directly. Using services from different companies adds additional steps and
tends to be more technical or confusing.
 Will I need domain privacy protection? When you register a domain, your contact info becomes
publicly available in the global ICANN registry. Privacy protection is a feature that hides this
information. Some providers (like Shopify), provide domain privacy protection for free on all
domains, but some providers offer this feature at an additional cost.
 Which domain extension(s) do I want to use? A domain extension is the part of the domain that
comes at the end. All domain providers offer .com domains, but if you’re looking for a region-
specific domain extension (such as .ca, .eu, or .au), or a speciality domain (.shop, .store, etc.),
you’ll want to make sure you choose a provider that provides them.
 Do I need any other services? Domain registrars usually offer additional services,
like ecommerce hosting, website building features, and email hosting. Occasionally, domains are
offered at what seems like a low rate, but only in addition to the purchase of other services.

To make it easier to decide, here’s a quick breakdown of major domain providers, their starting price
points, and cost of WHOIS privacy protection:

Shopify
First-year price: Starting at $15
Renewal price: $15/year
WHOIS privacy protection: Free
age 37 of 81

Google Domains
First-year price: Starting at $7
Renewal price: $7 to $10/year
WHOIS privacy protection: Free

GoDaddy
First-year price: Starting at $20
Renewal price: $20/year
WHOIS privacy protection: Free

IONOS
First-year price: Starting at $1
Renewal price: $15/year
WHOIS privacy protection: Free

Bluehost
First-year price: Starting at $2.99
Renewal price: $19.99–$21.99/year
WHOIS privacy protection: $15/year

Domain.com
First-year price: Starting at $5.99
Renewal price:Same as first-year price
WHOIS privacy protection: $8.99/year
Namecheap
First-year price: Starting at $6
Renewal price: Starting at $9.50/year
WHOIS privacy protection: Free

HostGator
First-year price: Starting at $12.95
Renewal price: $18.99/year
WHOIS privacy protection: $14.95/year

4. Purchase and register

Once you’ve decided on a registrar and a good domain name, you’re ready to proceed with purchasing
your domain. Once you’ve done so, your provider will reserve and register it on your behalf.

 Registering a domain name with Shopify


 Registering a domain name with Google Domains
 Registering a domain name with GoDaddy
 Registering a domain name with IONOS
 Registering a domain name with Namecheap
 Registering a domain name with Domain.com
 Registering a domain name with Shopify
age 38 of 81

If you’re building an online store, the quickest and easiest way to add and register a domain is
by purchasing it directly through Shopify. Setup is automatic, and having a Shopify domain allows you to
edit your domain settings, set up subdomains, and create forwarding email addresses, all in the same
place you manage your ecommerce store.

To register a domain with Shopify, start by logging into your Shopify store and proceed with these steps:

1. From your Shopify admin, go to Settings > Domains.


2. Click Buy new domain and enter the domain name you wish to purchase. As you enter your
domain, you’ll see an auto-generated list of available extensions. Click the Buy button next
to the domain you’d like to register.
3. If you haven’t added a payment method to your store, you’ll be asked to do so now. Once
you’ve added your payment method, you’ll be brought to the summary page, where you
can edit your personal information, indicate whether you want the domain auto-renewed
each year, and review the ICANN policy and the Domain Registration Agreement.
4. Once you finish reviewing the information, click Buy domain.
5. After you complete the purchase, a verification email will be sent to the email address
associated with your Shopify store. Click the link in the email to verify your information and
complete your domain registration.

After you verify your domain, registration is complete. Note that it can take up to 48 hours before the
domain is working properly. Once you’ve completed setting up your domain, you’ll be able to edit your
domain settings, set up subdomains, and create forwarding email addresses in the Settings >
Domains section of your Shopify admin.

Registering a domain name with Google Domains

Google Domains is one of the most popular domain registrars. Google Domains is owned and operated
by Google and, as such, has the benefit of being able to sync easily with other Google services.

For example, if you wanted to create custom email addresses with your domain name
([email protected], for example), Google Domains has built-in integrations with Gmail and Google
Workspace that make setup more seamless.

To register your domain with Google, start by going to the Google Domains registration page.

1. Click the Find the Perfect One button and enter your domain to check its availability.
2. Click the Add to Cart icon next to the domain you wish to purchase and register. If you’d
like to purchase additional domains, you can select the Add to Cart icon next to them as
well.
3. Once you have added all your selected domains, click the Go to cart option that pops up at
the bottom of your screen, or select the cart icon in the top right corner.
4. On the next screen, indicate if you’d like Privacy Protection and whether you’d like the
domain to renew automatically after the first year. Click Checkout at the bottom of your
cart when you’re finished.
5. One the next screen, enter the contact information you’d like associated with your domain
age 39 of 81

and click Save and Continue.


6. On the next screen, edit your payment information and select Buy.

After you’ve received confirmation that your purchase was successful, your domain has been reserved
and registered with Google Domains.

Registering a domain name with GoDaddy

GoDaddy is one of the oldest and best-known domain providers. It can integrate your domain with
various third-party services. If you’re looking to register your domain with GoDaddy, here are the steps
you’ll need to take:

1. Start by going to GoDaddy.com and entering your domain into the field and clicking Search
Domain.
2. If your domain is available, click the Get it button at the top of the page. You can also add
more domains from the suggestions below by clicking the add to cart icon next to them.
3. Once you’ve selected the domains you want to register, click Continue to Cart.
4. One the next page, you’ll be offered a number of services GoDaddy provides in addition to
its domains. These services include email hosting and a website builder. If you’re already
using a website-building service, like Shopify or Squarespace, you’ll want to opt out of this
service.
5. Once you’ve selected the services you’d like to add to your purchase, click Continue to
Cart.
6. On the next page, you’ll see a breakdown of your selected services and their charges. You
can remove items by selecting the garbage can icon. You’ll also be able to select the
payment term. Typically, domains are paid yearly, but GoDaddy allows you to select a term
of up to 10 years for .com domains. If everything looks correct, select the I’m Ready to
Pay button.
7. Next, you’ll be prompted to create a GoDaddy account or log in to an existing one. When
you do this, you’ll be asked to provide billing and payment information. Enter your
information and proceed to the Complete Purchase page.
8. Review your information and click Complete Purchase if everything is correct.

Once you’ve completed your purchase, your domain will be successfully registered with GoDaddy.

Registering a domain name with IONOS

Headquartered in Germany, Ionos is one of the oldest players in the information technology industry,
having been around since 1988. Ionos offers domain registration along with website hosting plans.

To register your domain with IONOS, go to the IONOS homepage:

1. Enter your domain name in the field at the top and select Check.
2. If the domain is available, click Add to Cart next to the domain. You can also add additional
suggested domains by clicking Add to Cart next to them.
3. One the next page, IONOS offers a number of services in addition to its domains, such as
email hosting and website building. If you just want to purchase the domain without any
age 40 of 81

additional services, select Continue with Domain Only.


4. On the cart page, review your details and select Continue.
5. On the next page, you’ll be prompted to create an account with IONOS or log in to an
existing account. After doing this, select Continue to proceed to the payment page.
6. Add your billing and payment information and click Continue.
7. Review the details of your order and select Complete.

After completing your order, your domain registration is complete.

Registering a domain name with Namecheap

Namecheap is another option for businesses looking to secure a domain. Below are the steps to take
with Namecheap.

1. Head on over to Namecheap.


2. Enter your desired domain name in the search bar on the homepage
including .com, .net, .co etc.
3. Namecheap will then share whether that domain is available. If the domain is available,
simply hit "add to cart" and complete the checkout process. If the domain is taken,
Namecheap will share a few additional variations that you can consider.
4. Like other domain registrars, Namecheap will include additional options for your domain,
such as SSL, hosting and VPN. Unless you specifically need the service, you can opt out of
the extra options.
5. Enter your billing information, complete the required prompts, and you're officially a
domain owner!

Registering a domain name with Domain.com

Domain.com is another option. To use it, do the following:


Go to Domain.com

1. Enter your desired domain name. Domain.com will share whether or not that domain is
available for purchase.
2. Choose the length (in years) you would like to have the domain name.
3. Choose whether you would like to add Domain.com's privacy features. This helps keep
your information confidential so it's more difficult for others to know you own the domain.
4. Click continue, and decide whether you would like to connect your domain with other
services such as Google Workspace.
5. Next, proceed to billing. Once you have entered your billing information and click
purchase, you have successfully registered your domain!

While the steps will vary slightly depending on which registrar you choose, most will follow a similar
sequence. Again, when choosing which registrar, you want to go with, consider cost, brand reputation,
customer support etc.
5. Renew your domain name
age 41 of 81

When you purchase a domain, you’re purchasing it for a fixed length of time, usually one year. While
some domain providers offer longer terms (GoDaddy, for example, offers up to 10-year terms
for .com domains), domain registration is never permanent.

In order to hold on to your registered domain, you’ll want to make sure you renew registration when
your term is complete. Nearly all domain providers offer an automatic renewal, so it’s generally a good
idea to have this option selected when you purchase.

Keep in mind that if your payment information changes, you’ll need to update your settings with your
domain provider so they’re able to charge for automatic renewal.

Most domain providers will notify you when it's time to renew, whether you have automatic renewal
enabled or not, but it’s important to renew your domain. If you don’t renew your domain, it will no
longer point to your website and may be purchased by someone else. If you don’t want to lose your
domain, make sure you renew it.

Server-side scripting language software is installed and configured

Server-side scripting refers to the process of running scripts on a web server that generates dynamic
content. These scripts communicate with databases and other resources to produce hypertext markup
language (HTML), cascading style sheets (CSS), and JavaScript code that can be rendered in a user's web
browser.

What you need to run PHP

Your system must meet specific requirements to run PHP. These may differ depending on your
operating system. So, before you get started installing PHP, check the system requirements. Some of
them will apply to all operating systems. For example, to run PHP, you need a web server. You can set
up the Apache web server for this purpose. In most cases, a database such as MySQL or MariaDB will
also be needed.

UNIX-based systems

Installing PHP on UNIX systems like Linux doesn’t require much additional work. Linux and the most
common Linux distributions provide most of the components you need. Only an ANSI C compiler and
module-specific components such as PDF libraries may need to be installed manually.

Windows

To install PHP on Windows, first ensure that your Windows version is compatible with PHP. All versions
released after Windows 2008 or Windows Vista provide basic compatibility for PHP 7.2.0+.

On Windows you need the option to deal with C code. To set this up, download Visual C Runtime or C
Runtime Files (CRT). You also need a suitable Visual Studio version. For most common PHP versions,
Microsoft Visual C++ Redistributable for Visual Studio 2019 is a suitable choice.
age 42 of 81

macOS

Provided you own a Mac, you don’t need to do anything else to install PHP. The scripting language
is included in modern macOS versions.

Download PHP

If your system meets the requirements, download the PHP version of your choice. There are several
versions available for manual download from the official PHP website. Download is necessary on
Windows. On Linux, installation and download can be performed via the command line. On macOS, PHP
is pre-installed.

Be sure to select the right link to download PHP for Windows.

Use the “Windows downloads” link to install PHP on Windows. / Source:


https://www.php.net/downloads

Which PHP version is the correct one?

Unless you’re learning PHP for the first time, it’s recommended to download the “Current Stable”
version. That’s the latest PHP version out of beta which runs error-free (as far as is known). Right now,
the latest stable version is PHP 8. Although beta versions offer more features, they can be quite buggy.
It’s best not to update your PHP version until the end of beta testing.

If you’re installing PHP for a specific purpose, for example, for existing projects or to use the best
WordPress plugins 2022. Check which PHP version is recommended. Currently, the “Old stable” version
7.4 is considered most compatible with WordPress.

Install PHP on Linux step by step

You can install PHP on Linux using the terminal. The process is quick and simple. Knowing the most
important Linux terminal commands will come in handy. The following step-by-step instructions refer to
the installation of PHP under Linux distribution Ubuntu.
Step 1: Update system and package
age 43 of 81

First, ensure that your system and all packages are up to date. To do this, use the following terminal
commands:

sudo apt-get update


sudo apt-get upgrade

Copy
The terminal will prompt you to enter your password, after which your system will be updated.

Sep 2: Install PHP

Now, PHP needs to be installed. Use the following command to do so:

sudo apt-get install php

Copy
Installation must be confirmed manually in the terminal and is then executed automatically.

Confirm installation of PHP in the terminal.


Step 3: Check PHP version

Once you’ve installed PHP, you can easily check which version you’re using:

php -v
age 44 of 81

Copy
An alternative under Ubuntu is to install LAMP stack

Depending on purpose, you may want to download and install a LAMP server. This way you get the PHP,
Apache web server and MySQL all in one. Use the following commands:

sudo apt install tasksel


sudo tasksel install lamp-server

Copy
After you’ve installed the Tasksel setup tool, the second command installs the LAMP server including
PHP in a single step.

The terminal prompts you to confirm installation of Tasksel by pressing the “Y” key.

Special features of other Linux distributions

Generally, installation of PHP isn’t all that different between the various Linux distributions. But there
are some small differences.

Debian

The installation of PHP under Debian will work using the above commands. In addition to the apt-
get command, there’s the aptitude command. This is a package manager that provides a menu
interface, but doesn’t differ much from apt-get otherwise.
age 45 of 81

The command to install PHP using aptitude is:

sudo aptitude install php

Copy

CentOS

The Linux distribution CentOS uses a different package manager, yum, and thus requires slightly
different commands to install PHP. But the steps you use to install PHP are otherwise identical.

First, update your system and packages:

sudo yum install epel-release


sudo yum update

Copy
Installing PHP uses a similar command to Ubuntu:

sudo yum install php

Copy

How to install PHP on Windows

You’ve got several options to install PHP on your Windows system. Besides manual configuration with
the Internet Information Service (IIS), you can download the Microsoft Web Platform Installer and add
PHP via the graphical user interface.
Step 1: Download Microsoft Web Platform Installer

Download Microsoft Web Platform Installer. Follow the steps as prompted in the installation program.

Step2: Adding PHP to Web Platform Installer

Open the application and click on the “Products” tab. In the search box at the top left, you can search
for your favorite PHP version. Select it from the list. To ensure PHP is listed under the “Documents to
install” button click “Add”.
age 46 of 81

Find your favorite PHP version and click “Add”.

Step 3: Install PHP

PHP is now shown in the list of your documents to be installed. Clicking “Install” at the bottom right will
begin automatic installation of the PHP version you’ve selected. Restart your computer to complete
installation.
age 47 of 81

Install your chosen PHP version by clicking the “Install” button.

Alternative under Windows — XAMPP

Like on Linux, PHP can be used on Windows by installing everything you need for the LAMP stack. You
can use the XAMPP program to do this.
Tip
Find out what you need for installation in our XAMPP tutorial.

Install PHP on macOS

Since PHP is pre-installed on macOS, you don’t need step-by-step instructions.

To use PHP on macOS, just remove the comment symbol in two lines of the Apache configuration
file that are significant for the setup of PHP.

You can usually find the configuration file via the /private/etc/apache/httpd.conf path. Once you’ve
opened the file with an editor of your choice, look for the following two lines:

# LoadModule php7_module libexec/httpd/libphp7.so


# AddModule mod_php7.c

Copy
age 48 of 81

By removing the hashtag, you resolve the comment status of the two lines of code so that they can be
read by the interpreter. Note that the PHP version number may differ depending on which macOS
version you use.

How to install and configure PHP

PHP is a general-purpose scripting language well-suited for Web development since PHP scripts can be
embedded into HTML. This guide explains how to install and configure PHP in an Ubuntu System with
Apache2 and MySQL.

Prerequisites

Before installing PHP you should install Apache (or a preferred web server) and a database service such
as MySQL.

 To install the Apache package, please refer to our Apache guide.


 To install and configure a MySQL database service, refer to our MySQL guide.

Install PHP

PHP is available on Ubuntu Linux, but unlike Python (which comes pre-installed), must be manually
installed.

To install PHP – and the Apache PHP module – you can enter the following command into a terminal
prompt:

sudo apt install php libapache2-mod-php


Install optional packages

The following packages are optional, and can be installed if you need them for your setup.

 PHP-CLI
You can run PHP scripts via the Command Line Interface (CLI). To do this, you must first install
the php-cli package. You can install it by running the following command:

 sudo apt install php-cli


 PHP-CGI
You can also execute PHP scripts without installing the Apache PHP module. To accomplish this,
you should install the php-cgi package via this command:

 sudo apt install php-cgi


 PHP-MySQL
To use MySQL with PHP you should install the php-mysql package, like so:
age 49 of 81

 sudo apt install php-mysql


 PHP-PgSQL
Similarly, to use PostgreSQL with PHP you should install the php-pgsql package:

 sudo apt install php-pgsql

Configure PHP

If you have installed the libapache2-mod-php or php-cgi packages, you can run PHP scripts from your
web browser. If you have installed the php-cli package, you can run PHP scripts at a terminal prompt.

By default, when libapache2-mod-php is installed, the Apache2 web server is configured to run PHP
scripts using this module. First, verify if the
files /etc/apache2/mods-enabled/php8.*.conf and /etc/apache2/mods-enabled/php8.*.load exist. If
they do not exist, you can enable the module using the a2enmod command.

Once you have installed the PHP-related packages and enabled the Apache PHP module, you should
restart the Apache2 web server to run PHP scripts, by running the following command:

sudo systemctl restart apache2.service

Test your setup


To verify your installation, you can run the following PHP phpinfo script:

<?php
phpinfo();
?>

You can save the content in a file – phpinfo.php for example – and place it under
the DocumentRoot directory of the Apache2 web server. Pointing your browser
to http://hostname/phpinfo.php will display the values of various PHP configuration parameters.

Database server is installed and configured

Role of SQL in Web Development


Web development is an occupation that involves creating websites for the Internet or an intranet. It can
include anything from creating single static pages of plain text to creating complex web applications.
It also involves the creation of electronic businesses and social network services.
As of today, web development is one of the best jobs in tech. According to indeed, web developers earn
an average salary of $72,000 annually. The range starts from about $20,000 and can be as high as
$155,000 annually.
age 50 of 81

More so, the US Bureau of Labor Statistics projects that the employment of web developers will
likely grow by 13% between 2020 and 2030.
However, the journey to becoming a web developer is not like it used to be. Technology evolves every
day. Therefore, developers need to improve their skills to keep up.
As a web developer who wants to stand out, SQL is one language you should understand. But what is
SQL and why do you need it?
What is SQL?

Structured Query Language (SQL) is a language explicitly designed for use with relational databases. It is
expressly used to manage and manipulate data in databases.
You may not need SQL to create great web applications as a developer. However, a knowledge of SQL
will help you interact with databases that power your website.
This is particularly important when building websites that use dynamic data. Such data have to be stored
in relational databases. These databases will allow easy information retrieval on individual web pages
that users can see.
The good news is SQL is easy to understand. With your understanding of web development, you can
learn SQL in just a few weeks. The language is similar to English and has very few keywords. Plus, there
are many self-paced courses online, like Acuity Training, where you can learn SQL.
That said, let’s talk about the role of SQL in web development.
The Role of SQL in Web Development
age 51 of 81

SQL has been in use since the 1970s when Donald Chamberlin and Raymond Boyce developed it. The
language has continued to gain importance in programming. The following are some of its essential roles
in Web development.
1. Display of User Data
Another critical area in which databases are commonly used in developing websites and applications is
the display of user data within a website.
In the past, websites only displayed texts and images using static HTML. However, today’s websites
focus more on engaging users by incorporating and reflecting their unique data and information.
When you enter many platforms, the website presents your personal information. This could be your
name, location, or whatever information that platform has about you on the display or profile pages.
To display user information, web developers must work with databases on the back end of websites.
They need to access user data that has been collected to display that same information on the front end
of the website.
Understanding how to retrieve user data from a website to display it on a web page requires some SQL
knowledge. That knowledge is essential for Full Stack Developers.
2. Data Mining

Data mining is getting information or hidden patterns from a website. Although the job relates to a data
scientist, it can be an essential tool for a web developer.
Through data mining, you can obtain valuable information to predict user behavior. Understanding their
behavior might help you know what they want. The information you retrieve is important because it will
help you in improving the user experience of your website as well.
SQL is a database management system used to create and manage servers. With SQL programming
language knowledge, you can easily navigate through massive amounts of data and understand how to
retrieve data from a web application.
age 52 of 81

Knowing SQL will allow you to extract information from websites quickly. SQL queries will enable you to
view update events, monitor table, and database activity, identify specific data at time intervals, and
retrieve information based on your needs.
3. Data Management
Most websites and web applications today have to deal with a ton of data every day. This could be
emails, user details, and many more. To ensure optimal user experience, these tons of data need to be
stored carefully in places where the system can access them.
There are usually options for developers at this point. You could decide to use spreadsheets, or you
could use SQL. While spreadsheets are easy to use, they are not sophisticated enough to handle large
amounts of data.
It would be best if you had something to handle large amounts of data without causing problems for the
end-users. Remember that even the slightest delay can give negative feedback or your web application.
This is where SQL comes in. SQL, unlike spreadsheets, allows you to process data in enormous amounts
with almost no problems.
SQL not only manages massive amounts of data; SQL can also access data quickly. When a user needs to
access data, they can do so in seconds. This is because data is stored in a structured manner using SQL.
Your websites can generate optimal customer satisfaction ratings with such easy access to data.
4. Data Manipulation
If you build a dynamic web application, like a news web application, you will have to update it
frequently. Sadly, changing and creating a new HTML page every time can be time-consuming.
This is where a database comes in and makes a developer’s life easier. A database allows you to make
changes quickly and manipulate the data on your page.
SQL is well suited for data manipulation because it views, manages, and access that data. It makes it
easier for developers to test and manipulate data. Furthermore, the data in SQL is dynamic. As a result,
you can manage and make changes to the data.

Building Dynamic Websites with PHP and MySQL

Remember the days when websites were just online brochures, displaying static information and
offering little interaction? Well, those days are over. Today’s web succeeds in dynamic experiences.
These are the website interfaces that adapt to users, remember their preferences, and keep them
engaged. Behind these stages, one of the most powerful combined tech stacks is PHP and MySQL.

PHP is what defines the mechanism of the website. It understands user actions, pulls relevant
information from the database, and generates personalized content. MySQL functions as the website’s
memory, storing all the data – from product details to user preferences. When this both gets combined
it enables us to build a responsive and user-centric website.

So, grab a cup of coffee and prepare to transform your website from static to spectacular. In the
following section, we’ll understand the working procedure of MySQL tracked by top PHP development
age 53 of 81

services providers. Also, we’ll explore some of the effective use cases of PHP and MySQL and burst the
most frequently raised queries on this topic.

What is MySQL?

Today’s online world succeeds in dynamic experiences. It must include real-time data and user
interaction. At the core of this mechanism lies MySQL, a relational database management system
(RDBMS). It works as the engine, storing, managing, and retrieving the data that fuels these interactive
experiences.

How Does MySQL Work?

 Structured Data. MySQL organizes information into tables, similar to spreadsheets. This is where data
points (“columns”) are arranged in rows. These tables can be linked together, creating relationships
between disparate data.
 SQL Communication. To access and change this data, you use Structured Query Language (SQL). It
stands as a set of instructions for MySQL. You can use SQL to recover, insert, update, or delete data with
precision.
 Scalability & Speed. MySQL benefits in handling massive datasets, even as your website grows. Its
indexing and optimization techniques ensure fast data retrieval and manipulation.

But it Goes Beyond Storage:

 User Authentication. Securely stores login credentials and manages access control.
 Real-Time Interactions. Tracks user actions, and facilitates shopping carts and personalized
recommendations.
 Instantaneous Updates. Displays content like news feeds or stock prices in real-time.
 Data-Driven Insights. Enables in-depth analysis and reporting to understand user behavior and optimize
your website.

Thus, MySQL acts as the backbone of dynamic websites. It benefits in ensuring efficient data
management and fueling engaging user experiences.

Why Use PHP and MySQL to Build Dynamic Websites?

To keep the users engaged, personalized experiences, real-time updates, and interactions are important.
But, how will you achieve this? PHP and MySQL are the technical powerhouse that serves countless
tools such as WordPress and WooCommerce. While numerous technologies exist, PHP and MySQL
stand out for their unique strengths. Let’s explore each of them:

 Personalized Content. Generate product recommendations based on user data. You can display news
feeds, keeping users engaged.
 Interactive Features. Build user logins, shopping carts, and comment sections. There are many other
sections you can add to improve user interaction.
 Fast Data Retrieval. Manage large datasets with MySQL’s indexing and optimization. This benefits in
ensuring a smooth user experience and quick page loads.
age 54 of 81

 Scalable Infrastructure. Handle massive user traffic and data growth with the robust capabilities of both
PHP and MySQL.
 Open-Source Power. Both open-source technologies offer vast community support and customization
options.
 Secure Data Management. Use MySQL and PHP security practices such as access control, data
encryption, and input validation to protect user data and website integrity.
 Targeted Marketing & Campaigns. Leverage user data to personalize marketing messages and
campaigns, driving engagement and conversions.

Leveraging these benefits, you can build dynamic websites that not only engage users but also drive
your business success. Remember that maximizing them requires expertise. Consider collaborating
with PHP experts. Their expertise can help you to analyze your specific project and implement best
practices for optimal performance and security.

How to Build a Dynamic Website Using PHP and MySQL?

With an understanding of PHP and MySQL and its benefits, now let’s get on the step-by-step guide to
build a dynamic website using this tech stack.

Step 1: Environment Setup

Before diving into the exciting world of dynamic web development, we need to prepare our tools and
workspace. This step involves setting up a development environment. You can build and test your
website on the local server, without impacting the live version. Let’s explore the essential elements:

1. Web Server. Install a web server like Apache or Nginx on your system. Follow the official installation
guides for your specific operating system. Example Apache installation command for Windows: choco
install apache2

2. Database Server. Install MySQL on your system. Download and install the appropriate package from
the official MySQL website.

3. Development Environment. Consider using a pre-configured environment like XAMPP or MAMP.


These packages bundle Apache, MySQL, and PHP together for a hassle-free setup. Download and install
XAMPP or MAMP for your specific operating system from their official websites.

4. Testing PHP. Create a simple PHP file (e.g., test.php) with the following code to verify your setup:

1 <?php
2
3 phpinfo();
4
5 ?>
age 55 of 81

Open your web browser and navigate to http://localhost/test.php. You should see a page displaying your
PHP configuration details.

5. Connecting to MySQL. Edit your PHP file to connect to your local MySQL database and retrieve some
information.

These are the foundational steps. While specific commands and configurations may vary depending on
your development environment choices. You’ll need to understand the core principles. It will help you to
create a robust development environment for the project.

Step 2: Database Design

Just like a building needs a strong foundation, your dynamic website requires a well-designed database
to store and manage its data effectively. This step delves into the key principles of crafting an efficient
and organized database structure using MySQL:

1. Define Data Entities. Identify all the information your website needs to store, like user profiles,
products, blog posts, or comments. Categorize this data into distinct entities (tables) with relevant
attributes (columns).

2. Plan Table Structure. For each table, define specific columns to represent individual data points
within the entity. Choose appropriate data types for each column, like varchar for text, int for integers,
and date for timestamps.

3. Establish Relationships. Real-world data often has connections. You can offer users to have multiple
orders, and orders might be associated with specific products. Define relationships between tables using
foreign keys to link related data efficiently.

4. Normalize Data. Prevent data redundancy by removing duplicate information across tables. This
improves data integrity and reduces storage requirements. Use normalization techniques like first,
second, or third normal form as needed.

5. Optimize for Performance. Consider indexing frequently used columns to speed up data retrieval.
This can improve the responsiveness of your website. Choose appropriate data types and table
structures that optimize storage and minimize unnecessary data processing.

6. Test & Verify. Create a basic schema diagram visualizing your table structure and relationships. Use
tools like MySQL Workbench or phpMyAdmin to test and improve your database design before
deploying it to your live website.

The complexity of your database design will depend on your specific website needs. You can consult
with experienced PHP developers for in-depth guidance on advanced database design concepts.

Step 3: Front-End Development

With the website’s data structure in place, it’s time to build the user interface (UI). It includes visual
elements and functionalities that users interact with. This is where front-end development comes into
play, using the powerful trio of HTML, CSS, and JavaScript.
age 56 of 81

1. HTML. HTML (HyperText Markup Language) provides your website’s basic structure and content. It
stands as the skeleton holding everything together. Use HTML tags to define elements like headings,
paragraphs, images, forms, and more.

2. CSS. CSS (Cascading Style Sheets) adds visual effects to your HTML elements. During the PHP and CSS
integration, you can also use CSS frameworks like Bootstrap or Materialize for pre-built styles and
components.

3. JavaScript. JavaScript brings life to your website, enabling interactions and user experiences. You can
use JavaScript to validate forms, create animations, and more. Consider incorporating JavaScript
libraries like jQuery or React for advanced functionalities and component-based development.

4. Responsive Design. Ensure your website adapts seamlessly to different screen sizes and devices. Use
responsive design techniques like media queries to adjust layouts and styles based on screen width.

5. Accessibility. Design your website with accessibility. Use semantic HTML elements, proper alt text for
images, and keyboard navigation support to cater to diverse user abilities.

6. Testing & Optimization. Test your website across various browsers and devices. This will help you to
maintain consistent functionality and user experience. Use browser developer tools to identify and fix
bugs, optimize performance, and refine your code.

Consider exploring advanced techniques like CSS preprocessors, JavaScript frameworks, and accessibility
best practices. This will help you to further improve your front-end appearance. This foundation sets the
stage for the elements powered by PHP and MySQL.

Step 4: PHP Scripting

Let’s move to the core of dynamic websites which is PHP scripting. This language acts as the bridge
between your user interface and the database. Let’s explore the key steps:

1. Connect to the Database. Establish a connection to your MySQL database. Consider using PHP’s built-
in functions like mysqli_connect() or the PDO extension.

2. Process User Input. Capture user input from forms, buttons, or other interactive elements. You can
use $_POST, $_GET, or $_REQUEST global variables. Validate and sanitize user input to prevent security
vulnerabilities like SQL injection.

3. Interact with the Database. Use PHP statements like SELECT, INSERT, UPDATE, and DELETE to
perform operations on your database tables. Retrieve data, add new entries, update existing
information, or delete records based on user interactions.

4. Generate Dynamic Content. Based on the retrieved data, generate HTML content using PHP functions
such as echo or print. This content could be personalized messages, product recommendations, search
results, or any other dynamic element.

5. Handle Errors & Security. Implement PHP error handling to manage database errors and display user-
friendly messages. Use prepared statements or queries to prevent SQL injection attacks.
age 57 of 81

By following these steps, you can deploy PHP scripting, transforming your static website into a dynamic
masterpiece. Each of them ensures that your dynamic website delivers personalized experiences, and
adapts to their needs in real-time.

Step 5: Testing and Deployment

With your dynamic website built, it’s time for the final step: testing, deploying, and launching. This step
ensures a smooth user experience and a successful website journey. Let’s explore the key steps:

1. Local Testing. Before deploying, test your website locally in your development environment. Use
browser developer tools to inspect code for errors, broken links, and compatibility issues.

2. Database Testing. Create test data that mirrors your expected real-world data. Verify data integrity
and consistency to prevent any issues with your database operations.

3. Security Testing. Conduct security scans to identify vulnerabilities like SQL injection. Implement
security best practices like cross-site scripting protection and regular updates to your software stack.

4. Deployment. Transfer your website files and database to your web server hosting environment.
Configure your hosting environment to connect to the database and handle PHP execution correctly.

5. Monitoring & Maintenance. Set up website monitoring tools to track performance, uptime, and
potential errors. Regularly perform backups of your website files and database to ensure data safety.

By following these steps, you’ll ensure a successful launch and ongoing maintenance of your dynamic
website. You must also stay updated on best practices, adapt to user feedback, and continuously refine
it to captivate your audience.

What are the Must-Add PHP and MySQL Functionalities for Dynamic Websites?

Having PHP and MySQL installed is like having the building blocks for your dynamic website ready. But to
unlock its potential, you need to understand the essential functionalities that bring your website to life.
Let’s explore these key features, assuming you have a basic grasp of PHP and MySQL:

1. Mastering Database Interaction

Remember how your website stores information in the database? PHP functions like mysqli_connect()
and PDO bridge the gap, letting you:

 Retrieve Data. Improve your website with content based on user actions, like product information
displayed on search results or user profiles.
 Update Information. Allow users to edit their profiles, add items to carts, or submit comments – all
reflected in the database.
 Perform Complex Queries. Build powerful search functionalities, filter data based on user preferences,
or implement advanced sorting mechanisms.
age 58 of 81

2. Secure User Authentication and Authorization

Security and personalization are crucial. Use functions like password_hash() and password_verify() to:

 Store User Passwords. Protect user data from unauthorized access.


 Implement User Logins. Grant access to specific sections or functionalities based on user credentials.
 Define User Roles and Permissions. Create personalized experiences by restricting access to certain
areas based on user roles (e.g., admin vs. regular user).

3. Form Handling and Validation

Forms are the bridge between your users and your website. Functions like $_POST, $_GET, and
$_REQUEST capture user input, but security is vital:

 Validate User Input. Use functions like filter_var() and regular expressions to ensure data integrity and
prevent vulnerabilities.
 Handle Errors. Provide clear error messages if users enter invalid data, ensuring a smooth user
experience.
 Process Form Submissions. Update the database with new information, send emails, or perform other
actions based on user input.

4. Content Generation

This is where your website comes alive. Functions like echo and print let you:

 Display Personalized Messages. Greet users by name, recommend products based on their preferences,
or show news articles based on their interests.
 Update Content in Real-time. Show live comments, display search results, or update product availability
instantly.
 Create Interactive Elements. Build polls, quizzes, or other dynamic features that engage users and keep
them coming back.

5. Tracking & Analytics

Understand your users and optimize your website! Tools like Google Analytics and
PHP’s session_start() and session_destroy() functions help you:

 Track User Behavior. See which pages are popular, understand user journeys, and identify areas for
improvement.
 Analyze Conversion Rates. Track how effectively your website leads users to take desired actions, like
subscribing or making purchases.
 Make Data-driven Decisions. Use insights from analytics to improve your website’s design, content, and
functionality for better user experiences.
age 59 of 81

As you explore further functionalities and communities to deepen your understanding, it will help you to
build even more dynamic and engaging websites. Don’t forget that security is always a priority, so stay
updated on best practices and protect your users’ data.

Which Type of Dynamic Websites Can be Built Using PHP and MySQL?

Having PHP and MySQL as your tools opens doors to a vast world of dynamic website possibilities. Let’s
dig into three key categories, exploring the diverse landscapes you can build with this powerful
combination:

1. Content-Driven Websites

 Focus. Delivering engaging and informative content.


 Examples. Blogs, news websites, online portfolios, e-commerce content pages.
 Key Functionalities. User authentication for managing content and other media and analytics for
tracking user engagement.
 Technical Aspects. PHP for form handling, database interaction for storing and retrieving content, and
templating engines like Twig for dynamic content presentation.

2. Data-Driven Websites

 Focus. Processing and displaying large amounts of data.


 Examples. E-commerce platforms, product catalogs, real-time dashboards, financial websites.
 Key Functionalities. Powerful database queries and manipulation using PHP and MySQL. You can
implement PHP charts and graphs libraries like Chart.js to present information and filter data.
 Technical Aspects. Implement database queries with joins and aggregations. Consider using data
validation and sanitization to choose appropriate data structures based on your data volume and access
patterns.

3. Interactive Websites

 Focus. Engaging users with dynamic features and functionalities.


 Examples. Social media platforms, online games, forums, collaborative platforms.
 Key Functionalities. User registration and authentication, real-time communication features, and
handling concurrent user requests efficiently.
 Technical Aspects. Implement session management for user tracking, and server infrastructure for
handling high volumes of concurrent requests.

You can combine these categories or explore various website types. It could include membership
websites, educational platforms, or booking systems. The possibilities are endless, and if you are aiming
for a tailored yet professional approach then consider enlisting a PHP development agency. Their team
of experts helps you create a dynamic website using PHP and MySQL that succeeds.

Security and firewalls are installed and configured


age 60 of 81

Firewall configuration involves configuring domain names and Internet Protocol (IP) addresses and
completing several other actions to keep firewalls secure. Firewall policy configuration is based on
network types called “profiles” that can be set up with security rules to prevent cyber-attacks.

How to configure the Windows Server 2019 Firewall

This article explains how to manage the Windows Advanced Firewall on a SecureAuth® Identity Platform
appliance. For documentation on configuring a perimeter firewall, see the support document Network
communication requirements for Identity Platform.

Applies to

SecureAuth Identity Platform release 19.07 or later on Windows Server 2019.

Configuration Steps

Firewall Settings Management

Windows Firewall with Advanced Security is a host-based firewall included with Windows Server 2019
and enabled by default on all SecureAuth Identity Platform appliances. Firewall settings within Windows
Server 2019 are managed from within the Windows Firewall MMC (Microsoft Management Console). Do
the following to review and configure firewall settings:

1. Open Windows Firewall with Advanced Security

Using the Windows interface...

a. Click Start > All Programs > Administrative Tools > Windows Firewall with Advanced Security.
b. If the User Account Control dialog box appears, confirm that the action it displays is what you
want, and then click Continue.

Using the command prompt...

a. Open a command window.


b. Type wf.msc and press Enter.
c. If the User Account Control dialog box appears, confirm that the action it displays is what you
want, and then click Continue.

2. First review the Required Rules to ensure they are securely configured, then review the Optional
Rules to see which of them should be activated in your environment.

Required Rules

DNS
age 61 of 81

By default, the DNS rules on the SecureAuth Identity Platform Appliance allow it to communicate with
any DNS server for greater ease during the initial configuration. Post configuration security best
practices recommend restricting communication to only trusted DNS servers on your network. Follow
the instructions below to only include DNS traffic from DNS servers within your organization.

1. Select Outbound Rules on the left side of the management console.

2. Select the rule titled Core Networking - DNS (UDP-Out), and in the Actions section of the
management console, click Properties.
3. In the Core Networking - DNS (UDP-Out) Properties window, select the Scope ta.
4. In the Remote IP Address section, select the These IP Addresses: radio button and click Add.
5. In the IP Address window, enter the IP for your trusted DNS server.
6. When you have finished adding all of the IPs for your DNS servers, click OK to accept the changes.
Description Direction Port Protocol

Outbound rule allowing DNS requests over Outbound 53 UDP


UDP
7. Select the rule titled SecureAuth - Allow DNS (TCP-Out), and in the Actions section of the
management console, click Properties.
8. In the SecureAuth - Allow DNS (TCP-Out) Properties window, select the Scope tab.
9. In the Remote IP Address section, select the These IP Addresses: radio button, and click Add.
10. In the IP Address window, enter the IP for your trusted DNS server.
11. When you have finished adding all of the IPs for your DNS servers, click OK to accept the changes.
Por
Description Direction Protocol
t

Outbound rule to allow DNS requests over Outbound 53 TCP


TCP
age 62 of 81

Network Time Protocol (NTP)

By default, the NTP rule on the SecureAuth Identity Platform Appliance allows it to communicate with
any (S)NTP server for greater ease during the initial configuration. Post configuration security best
practices recommend restricting communication to only trusted (S)NTP servers on your network. Follow
the instructions below to permit NTP traffic only to servers within your organization.

1. Select Outbound Rules on the left side of the management console.

2. Select the rule titled SecureAuth - Allow NTP, and in the Actions section of the management
console, click Properties.
3. In the SecureAuth - Allow NTP Properties window, select the Scope tab.
4. In the Remote IP Address section, select the These IP Addresses: radio button and click Add.
5. In the IP Address window, enter the IP for your trusted (S)NTP server.
6. When you have finished adding all of the IPs for your NTP servers, click OK to accept the changes.
Description Direction Port Protocol

The preferred (S)NTP server Outbound 123 UDP

Remote Desktop

By default, a SecureAuth Identity Platform Appliance allows any IP address to initiate a Remote Desktop
session for greater ease during the initial configuration. Post configuration security best practices
recommend restricting communication to only trusted IPs or a range of trusted IPs to maximize security
on the appliance. Follow the instructions below to restrict Remote Desktop traffic.

1. Select Inbound Rules on the left side of the management console.


age 63 of 81

2. Select the rule titled Remote Desktop - User Mode (UDP-In), and in the Actions section of the
management console, click Properties.
3. In the Remote Desktop - User Mode (UDP-In) Properties window, select the Scope tab.
4. In the Remote IP Address section, select the These IP Addresses: radio button and click Add.
5. In the IP Address window, enter an IP or network range.
6. When you have finished adding all of the IPs or network ranges, click OK to accept the changes.
Description Direction Port Protocol

Allow RDP traffic for Remote Desktop Inbound 3389 UDP


7. Select the rule titled Remote Desktop - User Mode (TCP-In), and in the Actions section of the
management console, click Properties.
8. In the Remote Desktop - User Mode (TCP-In) Properties window, select the Scope tab.
9. In the Remote IP Address section, select the These IP Addresses: radio button, then click
the Add button.
10. In the IP Address window, enter an IP or network range.
11. When you have finished adding all of the IPs or network ranges, click the OK button to accept the
changes.
Description Direction Port Protocol

Allow RDP traffic for Remote Desktop Inbound 3389 TCP

Optional Rules

Active Directory / LDAP

If the SecureAuth Identity Platform Appliance will be communicating with a Microsoft Active Directory
(AD) domain controller or an LDAP server, the following rules must be enabled and configured:
age 64 of 81

1. Select Outbound Rules on the left side of the management console.

2. Select the rule titled SecureAuth - Allow Active Directory-LDAP (TCP-Out).


3. In the SecureAuth - Allow Active Directory-LDAP (TCP-Out) Properties window, select
the General tab.
4. In the General section, select the Enabled checkbox and click Apply.
5. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
6. Click Add, and in the IP Address window, enter an IP for an AD/LDAP server.
7. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound traffic to AD/LDAP Outbound 88,389,636,3268,326 TCP


9
8. Select the rule titled SecureAuth - Allow Active Directory-LDAP (UDP-Out), and in
the Actions section of the management console, click Properties.
9. In the SecureAuth - Allow Active Directory-LDAP (UDP-Out) Properties window, select
the General tab.
10. In the General section, select the Enabled checkbox and click Apply.
11. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
12. Click Add, and in the IP Address window, enter an IP for an AD/LDAP server.
13. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound traffic to AD/LDAP Outbound 88,389 UDP


age 65 of 81

Active Directory Password Reset


If the SecureAuth Identity Platform Appliance will be using Microsoft Active Directory as a Data Store
and you would like to leverage the Password Reset IdM functionality, the following rules must be
enabled and configured:

1. Select Outbound Rules on the left side of the management console.

2. Select the rule titled SecureAuth - Allow Active Directory Password Reset (TCP-Out), and in
the Actions section of the management console, click Properties.
3. In the SecureAuth - Allow Active Directory Password Reset (TCP-Out) Properties window, select
the General tab.
4. In the General section, select the Enabled checkbox and click Apply.
5. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
6. Click Add, and in the IP Address window, enter an IP for an Active Directory Domain Controller.
7. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound traffic to AD for Password Reset Outbound 139,445,464 TCP


8. Select the rule titled SecureAuth - Allow Active Directory Password Reset (UDP-Out), and in
the Actions section of the management console, click Properties.
9. In the SecureAuth - Allow Active Directory Password Reset (UDP-Out) Properties window, select
the General tab.
10. In the General section, select the Enabled checkbox and click Apply.
11. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
12. Click Add, and in the IP Address window, enter an IP for an Active Directory Domain Controller.
13. When you have finished adding all of the IPs, click OK to accept the changes.
age 66 of 81

Description Direction Port Protocol

Allow outbound traffic to AD for Password Reset Outbound 445,464 UDP

Joining a Domain

If the SecureAuth Identity Platform Appliance will be joined to a Microsoft Active Directory domain, the
following rules must be enabled and configured:

1. Select Outbound Rules on the left side of the management console.

2. Select the rule titled SecureAuth - Allow Domain Membership (TCP-Out), and in
the Actions section of the management console, click Properties.
3. In the SecureAuth - Allow Domain Membership (TCP-Out) Properties window, select
the General tab.
4. In the General section, select the Enabled checkbox and click Apply.
5. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
6. Click Add, and in the IP Address window, enter an IP for an Active Directory Domain Controller.
7. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound traffic Outbound 389,636,3268,3269,88,445,139,1025- TCP


for AD Domain 5000,49152-65535
8. Select the rule titled SecureAuth - Allow Domain Membership (UDP-Out), and in
the Actions section of the management console, click Properties.
9. In the SecureAuth - Allow Domain Membership (UDP-Out) Properties window, select
the General tab.
age 67 of 81

10. In the General section, select the Enabled checkbox and click Apply.
11. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
12. Click Add, and in the IP Address window, enter an IP for an Active Directory Domain Controller.
13. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound traffic for Outboun 389,88,445,137,138,1025-5000,49152- UDP


AD Domain d 65535

SQL

If the SecureAuth Identity Platform Appliance will use a SQL server as a Data Store and/or for reporting,
the following rule must be enabled and configured:

1. Select Outbound Rules on the left side of the management console.

2. Select the rule titled SecureAuth - Allow SQL, and in the Actions section of the management
console, click Properties.
3. In the SecureAuth - Allow SQL Properties window, select the General tab.
4. In the General section, select the Enabled checkbox and click Apply.
5. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
6. Click Add, and In the IP Address window, enter an IP address for a SQL server.
7. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound SQL traffic Outboun 1433 TCP


age 68 of 81

Description Direction Port Protocol

SMTP

If the SecureAuth Identity Platform Appliance will send One Time Passwords (OTP) via Email, the
following rule must be enabled and configured:

1. Select Outbound Rules on the left side of the management console.

2. Select the rule titled SecureAuth - Allow SMTP, and in the Actions section of the management
console, click Properties.
3. In the SecureAuth - Allow SMTP Properties window, select the General tab.
4. In the General section, select the Enabled checkbox and click Apply.
5. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
6. Click Add, and in the IP Address window, enter an IP address for a SMTP server.
7. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound SMTP traffic Outboun 25 TCP


d

Syslog
age 69 of 81

If the SecureAuth Identity Platform Appliance will be using Syslog for reporting, the following rule must
be enabled and configured:

1. Select Outbound Rules on the left side of the management console.

2. Select the rule titled SecureAuth - Allow Syslog, and in the Actions section of the management
console, click Properties.
3. In the SecureAuth - Allow Syslog Properties window, select the General tab.
4. In the General section, select the Enabled checkbox and click Apply.
5. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
6. Click Add, and in the IP Address window, enter an IP address for a Syslog server.
7. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound Syslog traffic Outbound 514 UDP

RADIUS

If the SecureAuth Identity Platform Appliance will be hosting the RADIUS service, the following rule must
be enabled and configured:

1. Select Inbound Rules on the left side of the management console.


age 70 of 81

2. Select the rule titled SecureAuth - Allow RADIUS, and in the Actions section of the management
console, click Properties.
3. In the SecureAuth - Allow RADIUS Properties window, select the General tab.
4. In the General section, select the Enabled checkbox and click Apply.
5. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
6. Click Add, and in the IP Address window, enter an IP address for a RADIUS server.
7. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound RADIUS traffic Outbound 1812,1813 UDP

SecureAuth Filesync Service

If the SecureAuth Identity Platform Appliance will be participating in a FileSync cluster, the following
rules must be enabled and configured:

1. Select Outbound Rules on the left side of the management console.


age 71 of 81

2. Select the rule titled SecureAuth - Allow SecureAuth Filesync Service (TCP-Out), and in
the Actions section of the management console, click Properties.
3. In the SecureAuth - Allow SecureAuth Filesync Service (TCP-Out) Properties window, select
the General tab.
4. In the General section, select the Enabled checkbox and click Apply.
5. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
6. Click Add, and in the IP Address window, enter the IP address of another cluster member.
7. Repeat step 6 until all cluster member IPs (except for the one being configured) have been
entered.
8. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound Filesync Service traffic Outbound 139,445 TCP


9. Select the rule titled SecureAuth - Allow SecureAuth Filesync Service (UDP-Out), and in
the Actions section of the management console, click Properties.
10. In the SecureAuth - Allow SecureAuth Filesync Service (UDP-Out) Properties window, select
the General tab.
11. In the General section, select the Enabled checkbox and click Apply.
12. Select the Scope tab, and In the Remote IP Address section, select the These IP Addresses: radio
button.
13. Click Add, and in the IP Address window, enter the IP address of another cluster member.
14. Repeat step 12 until all cluster member IPs (except for the one being configured) have been
entered.
15. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow outbound Filesync Service traffic Outbound 137,138 UDP


age 72 of 81

16. Select Inbound Rules on the left side of the management console.

17. Select the rule titled SecureAuth - Allow SecureAuth Filesync Service (TCP-In), and in
the Actions section of the management console, click Properties.
18. In the SecureAuth - Allow SecureAuth Filesync Service (TCP-In) Properties window, select
the General tab.
19. In the General section, select the Enabled checkbox and click Apply.
20. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
21. Click Add, and in the IP Address window, enter the IP address of another cluster member.
22. Repeat step 21 until all cluster member IPs (except for the one being configured) have been
entered.
23. When you have finished adding all of the IPs, click OK to accept the changes.
Description Direction Port Protocol

Allow inbound Filesync Service traffic Inbound 139,445 TCP


24. Select the rule titled SecureAuth - Allow SecureAuth Filesync Service (UDP-In), and in
the Actions section of the management console, click Properties.
25. In the SecureAuth - Allow SecureAuth Filesync Service (UDP-In) Properties window, select
the General tab.
26. In the General section, select the Enabled checkbox and click Apply.
27. Select the Scope tab, and in the Remote IP Address section, select the These IP Addresses: radio
button.
28. Click Add, and in the IP Address window, enter the IP address of another cluster member.
29. Repeat step 21 until all cluster member IPs (except for the one being configured) have been
entered.
30. When you have finished adding all of the IPs, click OK to accept the changes.
age 73 of 81

HTTPS/SSL is installed and configured

HTTPS uses an encryption protocol to encrypt communications. The protocol is called Transport Layer
Security (TLS), although formerly it was known as Secure Sockets Layer (SSL). This protocol secures
communications by using what's known as an asymmetric public key infrastructure.

How to add an SSL and increase site security

You’ve finally done it. After hours of design and testing, your website is finally ready to be launched. But,
in the back of your mind, you know you’ve been putting off that one last step: adding an SSL to your
website. Since 2018, SSLs have become required features for Safari, Chrome and Firefox, so most web
designers are very familiar with SSLs by now. If you’re new to the web design world, however, SSLs can
feel daunting.

What is an SSL?

An SSL (Secure Sockets Layer) Certificate is the standard security technology for establishing an
encrypted link between networked computers. The SSL itself is a digital document that ties the identity
of a website to a cryptographic key pair, which includes a public key and a private key.

The public key allows a web browser to start an encrypted communication session with a web server via
the TLS (Transport Layer Security) and HTTPS (Hyper Text Transfer Protocol Secure) protocols.
The private key is kept secure on the server and is used to digitally sign web pages.

Put more simply, an SSL tells your customers that it’s safe to browse, shop and enter their secure
information on your site.

And for websites without an SSL? Here’s the warning that visitors will see:
age 74 of 81

An SSL certificate will also impact your website’s SEO (search engine optimization). Sites without an SSL
installed will be deemed as lower-trust websites and will be penalized on search rankings. Give your
viewers confidence and keep your site secure with an SSL.
How to add an SSL to your website

Let’s take a look at the process for setting up and installing an SSL on various server types below.

Request your CSR

The first step to setting up your SSL will be requesting a CSR (Certificate Signing Request) from your
hosting provider.

Note: If you’re installing your SSL to the primary domain of a GoDaddy hosting account, your CSR is
generated automatically. When generating a CSR, you’ll need to provide specific details.

Additionally, we recommend ensuring that any self-signed or out-of-date SSL certificates are removed
from your server before proceeding.

These are the details you’ll need to be prepared to provide:

Common name

The fully-qualified domain name, or URL, you want to secure. Note: If you are requesting a Wildcard
certificate, add an asterisk (*) to the left of the common name where you want the wildcard, for example
*.coolexample.com.
Organization

The legally registered name for your business. If you are enrolling as an individual, enter the certificate
requestor's name.
age 75 of 81

Note: While this is a required field for CSR generation, the organization field is only vetted
with Organizational Validation (OV) and Extended Validation (EV) SSL types. Not sure which cert type
you need? We can help you determine the best fit for your business with our SSL selector tool.

City/Locality

Name of the city where your organization is registered/located. Do not abbreviate.

State/Province

Name of the state or province where your organization is located. Do not abbreviate.

Country

The two-letter International Organization for Standardization (ISO) format country code for where your
organization is legally registered.

Generating your CSR

The process of requesting a CSR will vary by server type. Our Help Center has general guides for the
most common server types, but if you do not see your particular server listed, you will need to refer to
the documentation for your specific server for details on generating a CSR.

Set up your SSL

Once you have your CSR generated, it’s time to set up your SSL certificate.
Request your SSL

You’ll need to have your CSR handy for this portion of the setup:

1. Go to your GoDaddy product page.


2. Select Manage All next to SSL Certificates.
3. Select New Certificate for the SSL credit you want to use.
4. On the Certificate Setup page, select Input a CSR.
5. Paste your CSR into the box and select Continue to open the Prove Domain Control page.
6. Leave everything as it is and select Continue.
age 76 of 81

7. On the Additional Options page, select the Certificate Issuer you want to use. The only thing
that changes is who the certificate is issued by. Your certificate will function the same regardless
of what you choose.
8. Read the Subscriber Agreement, select the checkbox for I agree to the terms and conditions of
the Subscriber Agreement, and then select Continue.

Verify your SSL request

Before we can issue your certificate, we're required to verify that you control the domain that you’re
using for your SSL request. This is to ensure that the SSL request is being made by an approved entity.

How you prove your domain control depends on if your certificate and domain are in the same GoDaddy
account. Here are in-depth guides for both options:

 My certificate and domain are in the same GoDaddy account


 My domain isn't in the same GoDaddy account as my certificate

Download your SSL files

If you're manually installing your SSL certificate on your hosting account or server, you need to
download your primary and intermediate certificates from the SSL dashboard. If the option to
download your SSL certificate is disabled, we’ve already installed the certificate for you.

1. Go to your GoDaddy product page.


2. Select SSL Certificates and select Manage for the certificate you want to download.
3. Under Download Certificate, select a Server type and then select Download Zip File.

Install your SSL

Now that you have your SSL files, it’s time to install your SSL. This process will vary based on your server
type. We have instructions for the most common server types in our Help Center to guide you through
installing your SSL, but you will need to contact your hosting provider if your server configuration isn’t
listed.

Redirect HTTP to HTTPS


age 77 of 81

With the SSL installed, the next step will be to redirect your site to HTTPS. For those using Managed
WordPress, this update will be automatic. If you’re using a non-managed installation of WordPress or a
different type of server.

Once you've added the redirect, you can use our SSL Checker tool to make sure that everything is
working as intended.

Potential SSL installation issues

After installing your SSL and redirecting to HTTPS, it’s time to test your website for some of the common
issues after installation. Here are the top issues to check and resolve:
SSL certificate not found

If your SSL is installed incorrectly, your visitors may see a “certificate not found” error.

HTTPS redirect failure

A site not properly configured for SSL can lead to a redirect failure error message being shown to visitors
trying to find your site

SSL certificate mismatch

Error message occurs if the site isn’t properly validated prior to completing your SSL certificate
installation.

Mixed-content errors

If your website’s source code is pulling in other resources with insecure HTTP protocol (such as images,
videos, stylesheets, or scripts) your site will not load correctly.
age 78 of 81

Teachers Activity:
Ask Question
Show Presentation
Demonstration
Show video:
https://www.youtube.com/watch?v=6F0e9l1TYLA
https://www.youtube.com/watch?v=fRBV-NzYAZw
https://www.youtube.com/watch?v=KBT2gmAfav4
https://www.youtube.com/watch?v=zsjvFFKOm3c
https://www.youtube.com/watch?v=u96rVINbAUI

Reference:
Site:
https://www.google.com/
https://www.youtube.com/
https://www.hostinger.ph/tutorials/best-cloud-hosting
https://www.maple-hosting.com/blog/how-to-choose-the-right-server-specifications-for-your-web-
server/
https://powerbase.dotactiv.com/knowledge-base/server-software-hardware-requirements/
https://www.servermania.com/kb/articles/how-to-install-windows-server-2019
https://licendi.com/en/blog/windows-server-2019s-managing-users-and-groups/
https://learn.microsoft.com/en-us/windows-server/manage/windows-admin-center/understand/what-
is
https://www.pitchlabs.org/library/social-media/website-building-tools/what-is-a-domain-and-how-
does-it-work?gad_source=1&gclid=CjwKCAjw-O6zBhASEiwAOHeGxdrGOb7escexXCWBct5NypXQO_-
AfLgXW1Xn5c64VhXcpc9XwcesURoChpsQAvD_BwE
https://www.shopify.com/ph/blog/register-a-domain-name
https://www.ionos.com/digitalguide/websites/web-development/install-php/
https://ubuntu.com/server/docs/how-to-install-and-configure-php
https://www.technogoober.com/blog/role-of-sql-in-web-development/
https://wpwebinfotech.com/blog/php-and-mysql/
https://docs.secureauth.com/2104/en/how-to-configure-the-windows-server-2019-firewall.html
age 79 of 81

https://www.godaddy.com/resources/skills/ssl-ultimate-guide

eBook:
 Windows Server 2019 Installation Guide by: NEC
 Inside OUT Windows Server 2019 by: Orin Thomas
 Learn PHP by: Barry Page
 PhP hypertext preprocessor by: tutorialpoint.com
 PHP Programming Cookbook by: WEB CODE GEEKS
 MySQL Tutorial by: MySQL 5.7 Reference Manual
 MySQL 8.0 Reference Manual by: MySQL Reference Manual

Assessment 18-1:
Written Test

Test I: True or False: Write the letter T if the statement is true and F if the statement is false on the
space provided.

_____________ 1. There are several types of RAID, each with different methods of storing
your data.
_____________ 2. Hard drives come in larger capacities and are cheaper when you get into
the larger sizes but they’re much slower than SSDs.
_____________ 3. Another specification you’ll often see that’s related to your server’s
storage is RAID – Redundant Array of Isolated (or Independent) Disks.
_____________ 4. Unmetered bandwidth is ideal if you’re streaming media like music or
video from your website or application.
_____________ 5. The type of information you’re delivering on your website will determine
how much bandwidth you need.
_____________ 6. The bandwidth port size determines how much information can be
delivered at a given point in time.
_____________ 7. ROM measurements are similar to what you see in PCs but may seem
low in comparison.
_____________ 8. The CPU, or Central Processing Unit, is the “brain” of your server. That’s
where all the website requests, data manipulations, and other activities
are processed.
_____________ 9. If your website gets enough traffic, you’ll reach a point where a VPS
won’t be powerful enough to keep up and a dedicated server would be
the better choice.
_____________ 10. Server specifications provide detailed information for your server,
including dimensions, electrical, power, temperature, environment, and
service clearances.

Test II: Enumeration

A: Criteria for Choosing the Best Cloud Hosting Platform

1. _________________________________
age 80 of 81

2. _________________________________
3. _________________________________
4. _________________________________
5. _________________________________
6. _________________________________
7. _________________________________
8. _________________________________

B: How to Choose the Right Cloud Hosting Provider

1. _________________________________
2. _________________________________
3. _________________________________
4. _________________________________
5. _________________________________
6. _________________________________
7. _________________________________
8. _________________________________
9. _________________________________
10. _________________________________

Test III: Question and Answer

A: What is Windows Admin Center?

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

B: How does Windows Admin Center work?

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

Activity I

Objective: Install an operating system for your server.

Steps/Procedure:
age 81 of 81

1. Download Windows Server 2019 (.iso file).


2. Create a bootable USB.
3. Follow the procedure on Lesson 18.
4. Do advance reading on how to configure Window Server 2019.

Activity II

Objective: Create User Access.

Steps/Procedure:

1. Follow the procedure on Lesson 18.


2. Do advance reading on how to configure Window Server 2019.

You might also like