This tutorial is about how to host a website locally. Which mean at the end of this tutorial, you will be able to access the website you host to be accessible from any device on your network. You might need to host a local web app on office to access it internally or even at home for watching movies, across many device. At the end of this tutorial, you can access this website from any device on your local network. And a quick note I have testing this on windows 11 and on windows 10.
Can you host any type of website?
I have tested this with react application. The important thing is that it should contain index.html or index.php and other static files. You website need not to be in react, it can be a WordPress website or a custom php website with MySQL as database. So, to start you need a web server to serve your files. Don’t worry, its not a big configuration, you just need to install an app. In browser search for download page of xampp server. Once you get there, you can download the latest version. With the help of this software, we will setup the apache server. And if you use MYSQL, then you can install it too.
The XAMPP Server
Once download is completed, open the setup file and install it. Its a simple next, next screen you need to follow. On service selecting screen, you can select what services that need to be installed for you. If you don’t know what these things are then select apache and untick all other options. If you want to use local MySQL database you can tick MySQL option. you can leave all other option as default. Once the installation is completed click finish button to open xampp control panel. When the xamp control panel starts start the apache module. When it starts you should see port 80 under ports. Ensure you have port 80 there.
Xampp Control Panel
Move your website public folder
Click explorer button on xampp control panel and then you can close the xampp control panel. Even though you close xampp control panel, the apache server will be running in the background. Navigate to htdocs folder on the “C://xampp/htdocs” and delete everything there is, to host your website at root directory. Those deleted file are default xampp files and if you want you can also host it on a new folder in here and add folder name to your URL. This way you don’t need to delete those files.
Your website files should be here
Paste your website files on this folder. Ensure you have index.html or index.php on this htdocs folder. Now when you go to localhost on web browser you should see your website live on your PC.
Lets make it accessible from any device on your local network
Many people think this is very hard, or requires a complex configuration, buts its a piece of cake. Open windows defender firewall and navigate to advance setting on left side bar. Under Inbound rule, create a new rule to allow port 80 in your firewall. With this, your device will open port 80 (which is default port for web server). Also, do the same with outbound rule to allow port 80 there also. The reason why we are using port 80 is because, then we need not to specify port when we go to this address. If you do not understand this make sure to watch the video at end on this post.
Adding a custom domain name to your local website
Check the web address, its custom name, You can also add .com or .org etc…
How to access this website using a name of your choice. For that go to rename your PC and rename it to what you want you want domain name to be. You can also rename your PC by going to advance system setting. So if your DNS server is mapping device name to IP ,any device visiting to http your device name will see the website.
However, you cant put .com or .net as your PC name. So if your want access your device using something like localwebsite.com, then you need to add a record to your router or dns setting to point that domain name to your IP.
You can get your IP by opening cmd and typing IPCONFIG.
Lets wrap it with video explanation on how to host any website locally
So basically, what we did was, install xampp and put our website in htdocs folder. And to access from any device on my local network, I allowed port 80 on my device.
How do the following categories of computer differ from each other?
How do the following categories of computer differ from each other?
What are the 4 types or categorized of computer?
The four basic type of computers are Micro Computer, Mini Computer, Mainframe Computer and Super computer. Computers are classified into different types based on their size and speed. Each of these types of computers are used for different reason based on their features and properties.
The micro computer is the most common type of computer that we use in day to day life. Destop computers, laptop, personal digital assistant, smartphones and tablets are example of micro computer. These computers are widely used and it spread very fastly. The main reason for this is because it is cheap and most people can afford it easily. The calculator we used in our school life is also a micro computer. Mostly these computers are designed to be used by one user at a time. The terms microcomputer relates to the microcomputers which is used in these computers. The use of this microprocessor is to process data and instruction codes. It also can be used for entertainment purpose, education and work purpose.
The micro computers include a memory (to store data) and minimal input/output circuitry mounted on a single printed circuit board. Microcomputers weren’t much popular until 1980s with the advent of powerful microprocessors. The first microcomputer is known as the Altair 8800. It was produced by Micro Instrumentation and Telemetry Systems (MITS), and invented by Ed Roberts. This microcomputer does not have a operating system. Anyway, it accepts the commends entered via a row of switches, because it also didn’t have a keyboard.
The Minicomputers or mid-range computers are the computers which is bigger than a microcomputer and smaller than a mainframe computer. In general, we can say that minicomputer is a multi-processing system capable of supporting from 4 to 200 users simultaneously. One of the main purpose of the minicomputer is to support a small group of users with reasonably powerful computing capability. That’s why minicomputers are mainly used by small companies and firms. The online catalog in many libraries are run by minicomputers.
The setup of minicomputers allowed many people to access computers, which results in a spurt of new application around the world. Minicomputers are introduced in 1960s. Digital Equipment corporation has developed the PDP-1 ( a minicomputer) in that time. The one of the most popular minicomputer is Texas Instrument TI990. It was a series of 16 bit minicomputer sold by Texas Instrument in the 1970s and 1980s.
The Mainframe Computer
Photo by Tima Miroshnichenko on Pexels.com (Laptop in photo is not a mainframe computer)
The Mainframe computer is large and expensive types of computers which can support thousand of users simultaneously. These kinds of computers are mainly used by governments and large organization with thousand of customers, for bulk data processing, critical applications, transaction processing, census, industry and consumer statistics among others. These computer are very powerful but not as much as supercomputers. It can store and process terabytes of data. Mainframe computers can be accommodated in large rooms, because of their size and air condition is necessary due to the heat it produces.
In Maldives companies like Ooredoo or dhiraagu (service providers) can use these kind of computers to store theirs customers data securely. The main difference between a mainframe and supercomputers is that a supercomputer channels all its power into executing a few programs as fast as possible, whereas a mainframe uses its power to execute many programs concurrently.
The supercomputers are extremely fast computer which can perform hundreds of million of instruction in fraction of seconds. They are the fastest computer in the world. These are very expensive and used for special application that requires lot of mathematical calculation. The weather forecasting and nuclear energy researches are done using the supercomputers. These computers are also big in size like mainframe computers due to its numerous parts and components involved in their design. One of the example of supercomputer is Tianhe 2. Tianhe-2 also known as TH-2 is a 33.86-petaflops supercomputer. It is located in China. It was developed by a team of 1,300 scientists and engineers.
Compare and contrast the bounded and unbounded transmission medias in detail?
Compare and contrast the bounded and unbounded transmission medias in detail?
Compare and contrast the bounded and unbounded transmission medias in detail?
The every communication between two device is transmitted. Even when you send anything from one device to another device its transmitted. The way or what is used to transmit this data is called transmission medias. It might be some sort of wire like a normal copper wire or even a radio frequency signal which is transmitted through the air or now we call it wireless. The Bounded means its some sort of physical item like cable and unbounded means wireless or its transmitted on air.
The Bounded media are physical cables that travel through a narrow path. It is mainly made up of external conductor such as copper and covered by a non conductive material. It is also known as wired or guided media. The Bounded transmission means having connectivity between a source and destination using a wire or cables. So in bounded media signal will be travelling through the wire to its destination. The signal will not leave, except for smaller leakage amounts in bounded media. There are 3 types of bounded media. They are coper twisted pair, copper coaxial cable and optic fiber cable.
The Copper Twisted Cable
In coper twisted pair, two insulated wires or cable will be twisted together. The coper twisted pair is also again classified into two types known as shield twisted pair (STP) and unshielded twisted pair (UTP).
The Shield Twisted Pair
The shield twisted pair or STP is cables with the techniques of shielding, cancellation, and wire twisting. In shield twisted pair or STP the twisted pair of wire will be covered or wrapped in a metallic foil. The reason for covering the twisted pair of wire is to protect the transmission line from the noises and electromagnetic interference leaking into or out of the cable. Shielded twisted pair or STP are used in places like airports where there is too much noises. The unshielded twisted pair or UTP wire are not covered or wrapped in a metallic foil.
The un-shielded twisted pair
The unshielded twisted pair wire is cheaper than the shielded twisted pair wire. The twisted pair cables are used in homes and offices as ethernet cable. These cable supports low to high data rates but are not high as optic fiber cables. Other than ethernet cables, twisted pair wire is used in telephone communications also.
The optic fiber cable is similar to an electrical cable, but optic fiber cable contain one or more optical fibers that are used to carry light. The optical fiber elements are typically separately coated with plastic layers and contained in a protective tube suitable for the environment where the cable will be deployed. The fiber optic cable has very high bandwidth more than 2 gigabytes per a second. It is used for long distance telecommunication and to provide high speed data connection. The optic fiber cable use both analog and digital signal and are not affected by electromagnetic interference, so noise and distortion will be very less. However, these cable are very expensive and difficult to repair once its broken.
Unbounded media is in which the data transmission occurs through the air, commonly known as wireless. It is also known as un-guided or wireless media. Some example of unbounded media are microwave, radio wave, infrared waves and satellites. Microwave transmission use a transmitter and receiver with a clear path. If the path is not clear means it cant transmit data. Some times due to heavy rain and wind also it cant transmit data. But in radio transmission line of sight or clear sight is not necessary because radio waves can pass through the buildings. Infrared wave uses infrared light wave to transmit signal and can be blocked by hand or objects. Most type of remotes uses Infrared waves to transmit signal. The satellite transmission uses satellites to transmit signal. There are many satellites around a planet in a elliptical path.
Lets compare and contrast the bounded and unbounded transmission mediasin detail
Now that you have understood what is bounded and unbounded transmission media’s, lets put some point out some important details
Bounded media’s are physical wires
Unbounded media’s are wireless
Bounded media’s include copper twisted pair cables and fiber optic cables
Unbounded media’s include radio transmissions and satellite
Like anything E-commerce also have its merits (advantages) and Demerits (disadvantages). This tutorial will look in to details of these advantages and dis advantages. When we compare the merits and demerits of e-commerce, I believe merits would be more than demerits. Buts lets discuss the merits and demerits of E-Commerce. If I miss any important point, ensure to comment it below on this post, so we all can learn together.
E-commerce is like shopping online. E-commerce’s merits or advantages can be classified into three main categories. They are Advantages to consumer, Advantages to organization and advantages to society.
Merits (Advantages) to Organization
The advantages to organization of e-commerce include reducing the operational cost of the organization. Your organization does not need a showroom and more employees for the e-commerce. Other than that, e-commerce help organization to improve the brand image of the company. You can also attract more customers in e-commerce due to the easy process of e-commerce. You can purchase items by staying at home by just a few clicks.
Merits (Advantages) to Consumer
The best benefit for the customers of e-commerce is the 24/7 support. You do not need to wait for a specific time. You can always ask question about the product you want and get instant feedback. Customers also can easily find alternative products and compare the products they want in simple steps. This helps customers to get the best available product. Furthermore, customers can give review about the products they purchase and see the rating of the product, that you are going to purchase. E-commerce has increased the competition among the organization. As a result customers are getting huge discount on the products.
Merits (Advantages) to Society
Some of other advantage of e-commerce include 24/7 selling and buying service. You can access the e-commerce website at any time and place your order. As e-commerce does not require a physical company setup, It is easy to start and manage the business. Customers can easily select different products from different companies without moving around physically. This means that overcrowdings on the roads will decrease. Which surely will have a impact on transitive diseases.
The Demerits of E-Commerce
The demerits of e-commerce include that anyone can start a e-commerce websites. There are some e-commerce websites that eats up their customers money without providing the service. Some of the products are very fake and is difficult to understand what is fake and what is good. As it is a online process, there are hackers who hack the payment gateways. There is a high chance that some of the e-commerce websites are used in phishing also.
The same way Demerits of E-Commerce will also have huge impacts on Society and Organization and even to consumer. But we need weigh the pros are cons of E-Commerce for themselves.
Explain any three latest trends in information technology?
Explain any three latest trends in information technology?
Information Technology is a huge word and the easiest way to define information technology is by saying that it is a study or use of systems for storing, retrieving, and sending information. We can also say that it is exchanging of electronic data. In this modern world there are new invention and modern trends in information technology. Some of the latest trends in information technology includes cloud computing, Artificial Intelligence, 5G proliferation, quantum computing, Drones, Mobile computing and application and Automation. So let me explain any three latest trends in information technology?
Cloud Computing means using a network to send and receive files. With the help of cloud computing users can use application or links to store and send files by using internet. The top benefits of cloud computing include the cost. Mostly if you need to store data means you need to purchase a storage device. But you can use cloud computing for free of charge using some websites like google drive or mega. Other than that if you are using cloud computing means that files can be easy accessed over any part in the world. It also offers protection from potential threads and makes data backup when needed. The perfect example that of cloud computing we use in our daily life is emails and google drive.
Artificial Intelligence
Artificial intelligence is an area of computer science that emphasizes the creation of intelligent machines that work and react like humans. The fifth generation computers are also based on artificial intelligence. The device which use artificial intelligence include speech recognition and do tasks automatically. The robots also use artificial intelligence. Nowadays most common program that use artificial intelligence is siri and Alexa. These apps or device will perform task after listening to what you said and based on that.
The Famous 5G
5G is also known as the fifth generation of mobile network. 5G supports the speed of downloading 20 gigabytes per second. It is the latest generation of mobile network yet. 5G will not only interconnect people but also it will deliver new levels of performance and efficiency that will empower new user experiences and connect new industries. 5G uses better spectrum compare to 4G and it also has low latency. 5G support new services such as mission-critical communications and the massive IoT.
Quantum Computing
All the computer will be storing and manipulating information. The Current computers are storing and manipulating individual bits, which stores information as 0 and 1.Quantum computers leverage quantum mechanical phenomena to manipulate information. To do this, they rely on quantum bits, or qubits. They use three quantum mechanical properties known as superposition, entanglement, and interference to manipulate the state of the qubit. The speed of these quantum will be very fast. It is said that Quantum computers perform calculations based on the probability of an object’s state before it is measured.
Drone
Drone is basically a kind of a mini aircraft which has multiple purpose. It is used in photography as well as in military. Some of the scene of famous movies are shot using drones. The drones used to capture photo or video contain camera on the drone itself. Drones can be controlled remotely. In military there are drones which used to bomb places in war. These drones carry bomb to specific location and detonate the bomb. There are some drones which can lock a target and move towards to the target. Drones are also used in surveillance. People are tracked using facial recognition with the help of drones in seconds.
Last Words
Latest trends in technology also brings a huge impact on mobile applications. Now with the help of AngularJS you can use html and JavaScript to build hybrid mobile application. After the release of angular there has been a huge increase in number of apps in stores. It is developed by google and maintained by community of individual people.