Skip to main content

Binding AWS VPS IP Address with Hostinger Subdomain

Bind AWS IP with Hostinger Sub-Domain To bind an AWS IP address to a Hostinger subdomain, you need to update the DNS records of your Hostinger domain to point to the AWS IP address. Here’s a step-by-step guide to achieve this: Step1: Find the AWS IP Address If you have an EC2 instance, you can find the IP address in the AWS Management Console under the "Instances" section. Note the Public IPv4 address. Step2: Access Hostinger DNS Management Log in to your Hostinger account. Go to the "Domains" section and select the domain for which you want to configure the subdomain. Navigate to the "DNS Zone" or "DNS Settings" for that domain. Step3: Create a Subdomain and Point to AWS IP In the DNS settings, create a new A record. Set the "Name" or "Host" field to your subdomain (e.g., subdomain.yourdomain.com ). Set the "Points to" or "Value" field to your AWS IP address. Set the TTL (Time to Live) to the default value

ASIC - Dual Boot Windows and Ubuntu (Solved)

Prelude

Mostly we have a single PC or Laptop at home, and we want to use both the Windows and Linux on the same machine but sometimes we are afraid of losing data because of the tedious procedure of dual boot installation. I have also been afraid of losing my data due to this tedious process, but then I thought that I can take chance by backing up my data to external drive. So, I took the chance, a couple of times failed and then I was successful. I will be discussing all scenarios of failure and success in details for you to know the correct path before installation of dual boot operating systems.

First thing first, I will be installing Windows Operating System at first place and then I will install Ubuntu Operating System in dual boot configuration. So let's start with the scenarios.

Dual Boot Installations (Failure and Success Scenarios)

Machine Information

Dell Latitude 3340 Laptop

Operating System1

Following information can be found in the properties of Computer Icon

Edition: Windows 10 Pro
Version: 20H2
OS Build: 19042.1706

Operating System2

Ubuntu 20.04

Procedure Followed 

1. Windows 10 was already installed on my machine and I downloaded Ubuntu latest distribution ISO file from UBUNTU official website (Install Ubuntu desktop | Ubuntu). 

2. Download latest distribution of Rufus from official website (Rufus - Create bootable USB drives the easy way).

Rufus Settings for Creating Ubuntu Installation USB
Settings for Creating Ubuntu Installation USB
3. Open Rufus and perform the following steps:

3a. Insert 4 GB or above USB Drive. (Save any important data on you USB Drive prior starting the operation because data on the USB Drive will be lost.)

3b. Insert the USB Drive and you will see that Rufus will automatically detects the device.

3c. Press SELECT button and browse to select the downloaded ISO image of Ubuntu downloaded from Step1.

3d. Do not change any other settings on Rufus and make sure that the Rufus settings are similar to the settings shown in picture above.

3e. Press START button and let the process complete. (You will be warned by Rufus regarding your data on USB Drive will be lost, press OK if there is no valuable data on the USB Drive. Next popup window will show the Ubuntu settings. Simply press OK and let the process begin.).

4. After the preparation of Bootable USB, you will need to free up space for installation of Ubuntu. Recommended space is 20GB, but it depends on available space and your desire to allocate free space for Ubuntu Operating System. In my case I will be allocating 100GB space for the Ubuntu Operating System. Steps to allocate free space are as follows:

Computer Management Tool for Windows 10
Computer Management Tool Window
4a. Open Computer Management Tool on your Windows 10 or Windows 11 by simply right clicking "This PC" icon and selecting "Manage" or type Computer Management in search on taskbar and select Computer Management.

4b. Now select "Disk Management" under the "Storage" in the left pane. You will see the available disks and partition information as shown in the picture.

4c. Choose Drive and right click to select "Shrink Volume...". You will be able to shrink the existing volume which is dependent upon the availability of free space in your selected drive.

4d. Shrink the volume as per your requirement from within the free space available on the drive and you are all set.

5. Insert your USB bootable drive which you have created in step 3 and restart your computer. Make sure that Boot Options are set to boot from USB as a first option in your machine's BIOS. If not, first jump into BIOS by pressing F2 or F12 and change the boot Order and save before exiting the BIOS.

6. As soon as the system restarts, you will see the Ubuntu Booting.

Try or Install Ubuntu
Try or Install Ubuntu
7. You will be given option to either Install or Try Ubuntu. You can select either of these options, but it is better to first Try Ubuntu to see if your machine is compatible with the version of Ubuntu and all hardware is running properly or not. If everything is fine then select Install Ubuntu Icon from the Desktop of Ubuntu to start the process of installation, if some hardware is not working like Wi-Fi, Bluetooth etc., then simply restart the machine and remove the USB bootable Drive to go back to Windows and find better and compatible distribution and repeat from step 3.

8. Click on the Icon "Install Ubuntu xx.xx.xx" to start the installation as shown in the picture below.

Start Installation of Ubuntu
Start Installation of Ubuntu xx.xx.xx

9. Select Language and Keyboard Layout in next two screen as shown in picture below:

Select Language and Keyboard Layout
Select Language and Keyboard Layout

10. Select installation type for the Ubuntu Operating System. In my case, I have opted normal installation as shown in the picture below and I recommend to opt this for you as well.

Installation Type - Normal Installation
Installation Type - Normal Installation

11. Here comes the different installation scenarios that I have tested to show the results so that you don't have to try these on your machine, and you could save your data and time. There are three installation options as shown in the picture below. 

Ubuntu Critical Installation Options for Dual Boot Settings
Ubuntu Critical Installation Options for Dual Boot Settings

I will be showing following 2 confusing options.

    a. Install Ubuntu alongside Windows 10
    b. Something else


Scenario 1 - Install Ubuntu Alongside Windows 10 (Failure Scenario)

As a newbie, this option seems very suitable as the detail of this installation option states "Documents, Music and other Personal Files will be kept. You can choose which operating system to select each time system starts-up.". This option seems very good as you will not have to get your hands dirty with the creation of hard drives for installation and installation widard will do it for you automatically.

Hence I chose the option and the result was not much as desired. My Windows was there and it contained all the software and data as promissed by the Ubuntu Installation Wizard. I also could select either of the Operating Systems at the start up. BUT each time after rebooting the machine, before getting into the boot menu for selection of operating systems, there was an irritating error on the screen stating "Invalid Partition Table. Press any key to continue...".

So we can safely say that this option is not a total failure but still the error message ruins the enjoyabe moment of selection of desired operating system.

Scenario 2 - Something Else (Success Scenario)

As a last resort, I decided to reinstall all the operating systems but I first tried to install only Ubuntu and remove the existing partitions which carried Ubuntu Operating System.

Note: So here we go. I would strongly recommend following the steps carefully because these steps are the bit tricky and very important steps which will ensure that you do not lose your Windows Operating System and data within your machine and install Ubuntu Operating System in dual boot configuration with Windows Operating System.

12. Referring to the step 11 of this blog, select "something else" and press Next. You will be presented with the next screen as shown in the picture below, displaying all the hard drives along with the existing partitions as well as the free space which you will utilize in the upcoming steps.

Setup Screen for Creation and Selection of Partitions
Setup Screen for Creation and Selection of Partitions

13. Click on the free space and select + button for creation of new partition. A small popup window will appear as displayed in the picture below:

Create New Partition
Create New Partition

14. First we will create small partition of size "500MB", with type of partition as "Primary" and Use as "EUFI bootable" and press ok. This will create a bootable partition for Ubuntu operating system.

15. Next we will again select free space and press + button to create new partition. This time we will not change the Size option and let Ubuntu use all available free space for this partition. Select type as "Primary" and Use ass will be "Ext4 Journalling file system". You will see a new text field with the caption Mount Point before OK or Cancel buttons, type "/" as a mount point and press OK.

You are all setup. Simply select your "/" partition and press Install Now option. Wizard will ask you a couple of questions including Username, System Name and Password information as well as time zone. Fill in the information as per your desire and press Install Now button. Tada, your operating system is being install.

At the end of the installation, you will be asked by the wizard to continue testing or restart. Do as you desire. If you select restart, remove the Bootable USB Drive and you will see the GRUB2 displaying Ubuntu as your default Operating System and Windows as secondary option. go ahead and try both options one after another and enjoy your success.

There are options to change the GRUB2 customizations and bring Windows as your default operating system as well as change the default timer from 30 seconds as per your wish or requirement. I will be coving this topic in my upcoming blogpost. So, stay tuned.

regard

Comments

Popular posts from this blog

ASIC - Hikvision DVR Unbind (Solved)

In continuation to my previous blog " PREPARING HIKVISION 4 CHANNEL DVR DS-7100 FOR INSTALLATION AND PASSWORD RESET (SOLVED) "which is part-1 of My Main Topic " Installation of 4 Channel DVR in DIY Model ". After getting into the DVR settings, and solving the 5 beeps problem, the device started working perfectly but the display was on local screen installed within home but displayed data on my cell phone was yet to be done. First thing first, I started searching google for the simplest solution to get the display on my phone. I went across a lot of blogs and videos on YouTube. There are so many similar methods once again, so I also opted one of  the most common method which was to install Hik-Connect tool for android  from Android Play Store and try to bind the device using the QR code from Configurations of my DVR. It could not bind because DVR was already bound with the cell phone number of first owner. I again went to the google for searching for the solutions of

ASIC - Crypto Price Analysis Today ARB Coin

Arbitrum ($ARB ) Price Analysis [08-01-2024] Arbitrum cost encountered a plunge beneath the 20-day Dramatic Moving Normal (EMA), yet the bears couldn't get a nearby underneath the basic help. Presently, purchasers are unequivocally safeguarding the climbing support line. Before long, vendors could endeavor to test the help line, and a break underneath could set off lengthy liquidations. Nonetheless, the purchasing pressure serious areas of strength for is the bulls go for the gold over the EMA20 pattern line. A flood over the 20-day EMA could strengthen purchasing pressure, taking the ARB cost above $2.1 one week from now. Crypto Coin ARB Price Analysis

ASIC - Law Passed Ban Quran Burning

Denmark's parliament has passed a bill that makes it illegal to publicly desecrate the Quran or other holy texts. The decision comes in the wake of protests in Muslim countries over the defiling of Islam's sacred book, which raised security concerns. The bill prohibits "indecent treatment of writings with significant religious importance for a recognized religious community" and was passed with 94 votes in favor and 77 against in the 179-seat Folketing on Thursday.  In practical terms, it will be illegal to burn, tear, or otherwise deface holy texts in public or in recordings intended for widespread distribution. Those who violate the law risk a fine or up to two years in prison. Before it takes effect, Queen Margrethe needs to sign it officially, which is expected to happen this month. The purpose of the law is to counteract "the systematic mockery" that, among other things, has contributed to increasing the risk of terrorism in Denmark, the Ministry of Jus