Skip to content

Shahira-Ansari/Worlds-of-Choco-Boutique

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 

Repository files navigation

Worlds-of-Choco-Boutique

I have create a dummy website of World of Choco Boutique


World of Choco Boutique website link: https://world.of.choco.boutique.redbusmagic.online/

Aim:

To deploy a website on Azure, establish a custom URL via DNS. Additionally, setting up a web alert rule, and employ access restrictions to prevent malicious users from accessing the website.


Procedure

Step1: Establish a Virtual Network (V-Net) that contains a subnet, and within that subnet, place a Virtual Machine (VM).

Step2: Create a web service using App Service.

Step3: Establish a connection to the VM, install FileZilla within the VM, & deploy a website through FileZilla.

Step4: We can paste the URL of web app on the internet we will be able to see the website.

Step5: We can change the URL of the web app by custom domain with the help of hostinger. We will be able to view the website through our domain

Step6: Create an alert rule for web app.

Step7: Create an access restriction.


Working Website URL with web app

HOME PAGE

image

ABOUT US

image

CHOCOLATES

image

TESTIMONIAL

image

CONTACT US

image

CONTACT DONE

image

LOGIN

image

LOGIN SUCCESSFULLY

image

Working Website URL with DNS

HOME PAGE

image

ABOUT US

image

CHOCOLATES

image

TESTIMONIAL

image

CONTACT US

image

CONTACT DONE

image

LOGIN

image

LOGIN SUCCESSFULLY

image

Architecture

Deployment of Website

image

Explanation of a diagram:

Here we have created a V-Net in Central India with ip address 10.0.0.0/24. Inside that we have subnet1 with ip address 10.0.0.0/16. And inside the subnet1 there is a VM1 and web app.

In web app we are going to create DNS alert and access restriction.

Now let us look how to deploy a website.

Create a web app and go to the deployment center.

Connect the VM and install the FileZilla as well as install the website of your choice.

Form the web app give the FTPS credentials to the FileZilla and connect.

Copy the URL of where babe on the Google you will be able to view your website.

NOTE:

You can view your website from any device.

Implementing our own Domain

image

Explanation of a diagram:

Here we have created a V-Net in Central India with ip address 10.0.0.0/24. Inside that we have subnet1 with ip address 10.0.0.0/16. And inside the subnet1 there is a VM1 and web app.

In web app we are going to create DNS.

Now let us look how to have a custom domain.

Here we have taken the domain name as worldsofchocoboutique.redbusmagic.online.

We need to paste the CNAME and TXT in the hostinger. (Or else from wherever we have buy the domain)

We need to validate and wait for some time after validation we can add the domain name.

It will automatically get a binding or else you need to bind it.

Paste the new URL on the web app and you will be able to view the website.

Implementing Alerts and Access Restriction

image

Explanation of a diagram:

Here we have created a V-Net in Central India with ip address 10.0.0.0/24. Inside that we have subnet1 with ip address 10.0.0.0/16. And inside the subnet1 there is a VM1 and web app.

In web app we are going to create alert and access restriction.

Now let us look how to create alert rule.

Here we have created an alert rule where we will be getting a notification on SMS and email on the registered phone number and the email ID.

The rule is that if a website is not working and user try to access the website a notification will be send on the given phone number and email.

Now let us look how to access restriction.

Here we can restrict some VM and allow some VM to get the access. Also we can restrict some IP and allow other IP to get the access.

If any of the devices is unable to view the website then we will be getting an notification.

Now let us look how to restrict a VM1.

Here I have restricted VM1 for this website but on the same time I can access it on my local machine or on my phone.

Simultaneously I will also get a notification on email and SMS that someone is unable to view the website.

Suppose now you want to remove the restriction from the VM1.

Then you need to change the priority to 999 because the priority which was set to 1000 was to restrict the VM1.

After setting the priority will be able to view the website.

NOTE: Higher the priority lesser the number.

Create a VM

image image image image

Connect VM

image

Download FileZilla

image

Install FileZilla

image image

Create a Web App

image image

FTPS Credentials

image

FTPS Credentials in FileZilla

image

Transfer the file

image

Website view in VM1

image

Website view in local machine

image

Working Website

image image

Create a custom domain

image image

Added it in Hostinger

image

Validate the domain & Add

image

Domain with SSL

image

Viewing website with our own domain

image

Creating an alert rule for web App

image image

Identify the rule

image

Create an action group

image

Giving email & phone number for notifications.

image image

Registered phone number

image

Registered email

image

Create an alert rule for choco bites

image image image image

Access Denied

image

Email Received for error

image image

Email Received for error resolved

image

We can view website now

image

Create an alert rule for worldofchocoboutique

image image

Access Denied

image

Email Received for error

image

We can view website now

image

Email Received for error resolved

image

Error Solved

image

Access restriction ON

image

Add Rule to deny access to VM1

image

Access Denied in VM1

image

But able to view in Local Machine

image

Add Rule to allow access to VM1

image

Access granted to VM1

image