Multi-Domain Hosting CPTE 212 “Missing Slides” for 1/22/2015 John Beckett.

Slides:



Advertisements
Similar presentations
UNIVERSITY OF EDUCATION BY H.M.ISHTIAQ RAFIQUE. Domain Name Structure.
Advertisements

What all is there Inside the Apache web server. These slides are part of study material of LAMP course. Course conducted by Prof Rocky Jagtiani – Technical.
Web Server Onno W. Purbo Web server.
Michelle J. Gosselin, Jennifer Schommer Guanzhong Wang.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Apache Configuration Setting up a web server. Basic Server Facts Runs on port 80 Server application -> httpd Richly configurable Many defaults will let.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Its easy to be an information provider Tutorial: Web Publishing.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Configuring a Web Server. Overview  Understand how a Web server works  Install IIS (Internet Information Services) and Apache Web servers  Examine.
CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Web Client/Server Communication A290/A590, Fall /09/2014.
Installing a New Windows Server 2008 Domain Controller in a New Windows Server 2008 R2.
SquirrelMail for Webmail AfNOG 2012 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Serrekunda, Gambia (Original Materials by Joelja)
APACHE SERVER By Innovationframes.com »
SquirrelMail for Webmail AfNOG 2013 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Lusaka, Zambia (Original Materials by Joelja)
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
Virtual Hosts The apache server can handle multiple “web sites” at a time – a web service provider company may have multiple different sites to offer (see.
Linux Operations and Administration
Setting up Greenstone for your organization Course material prepared by Greenstone Digital Library Project University of Waikato, New Zealand andNational.
Appendix: Installing AMP (Apache + MySQL + PHP). Training Course, CS, NCTU 2 AMP  AMP A – Apache Web Server M – MySQL Database Server P – PHP Language.
August 25, SSO with Microsoft Active Directory Presented by: Craig Larrabee.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
The Linux Operating System Lecture 5: Apache Tonga Institute of Higher Education.
Copyright© 2003 Avaya Inc. All rights reserved Upgrade to Communication Manager 2.0 with Migration to Linux 8.0 Purpose: This presentation was prepared.
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
1 HTML (Set Up Public Folder) Some material on these slides is taken directly from
CPSC203 Introduction to Computers Lab 69 By Jie Gao.
Setting up NIS and HTTP. Network Information Service Reading: 1. Linux NIS HOWTO: howto/HOWTOhttp://
CPTE 212 “Lab” Configuration 1/13/2015 John Beckett.
Websites 101 Technology Committee UPSOM. Web Class – Goals  Make a simple web page (or series of pages)  Upload that page to the internet  Feel comfortable.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Installing and Using Active Directory Written by Marc Zacharko.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG 11 Kigali, Rwanda May 2010 Dorcas Muthoni Courtesy: Hervey Allen.
Day 11 SAMBA NFS Logs Managing Users. SAMBA Implements the ability for a Linux machine to communicate with and act like a Windows file server. –Implements.
The DSpace Course Module – An introduction to users and groups.
Web Access Chain of Events CPTE 212 John Beckett.
Cosc 4750 Configuring httpd, Mysql, And Samba. defaults By default httpd demean will startup and work User directories are turned off Default directory.
1 Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG X Cairo, Egypt May 2009 Hervey Allen.
LinuxChix Apache. Serving Webpages The layer 7 protocol (HTTP) is what our browsers talk to get us the websites we can't seem to live without. HTTP is.
Multi-Domain Hosting Hosting multiple domains on one server using Apache John Beckett 1/16/2013.
LING 408/508: Programming for Linguists Lecture 17 October 28 th.
WAMP Windows Apache MySQL and PHP i.e. “WAMP”. Why WAMP? WampServer is a Windows web development environment. It allows you to create and test web pages.
How to use WS_FTP A Step by Step Guide to File Transfer.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
Web Server Administration Chapter 6 Configuring a Web Server.
Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.
LINUXCHIX WEBMAIL. Software run by an ISP or online service that provides access to send, receive, and review using only your Web browser. Users.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
Web Server Administration Chapter 6 Configuring a Web Server.
WordPress and Etherpad with BlueMix and Docker. Our aim is to run on BlueMix containers (now in beta) these two famous services In the BlueMix dashboard,
1 Dr. Tom Hicks Computer Science Department Trinity University 1.
(c) Elizabeth Sterling * Please copy, share and reuse * sparkthing.com What Is Apache? ● A “Patchy” Web Server ● The most common HTTP server on the 'Net.
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
Installing iHRIS Install iHRIS Manage on an Ubuntu System
Web and Proxy Server.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess
SquirrelMail for Webmail
Ubuntu Working in Terminal
Lab 1 introduction, debrief
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Part 2 Setting up a web server the easy way
Configuring Internet-related services
Part 2 Setting up a web server the easy way
LING 408/508: Computational Techniques for Linguists
LING 408/508: Computational Techniques for Linguists
Presentation transcript:

Multi-Domain Hosting CPTE 212 “Missing Slides” for 1/22/2015 John Beckett

What is DNS? DNS is a global database system built into the Internet that translates hostnames into IP addresses. E.g. –Send “hw.cs.southern.edu” to DNS, and –DNS returns

How are Web Sites Hosted? In the simple case, each Web site would have its own server with and IP address –Access and you are sent to , which returns the info you neededhttp://hw.cs.southern.edu It is a common practice to have more than one (perhaps hundreds) of Web sites served by a single server. In this case Apache is configured to look at the desired host name in the GET header, and respond with the appropriate Web site materials.

Configuring Multi-Domain Service – 1 Preparing Web materials Create an area on the server to hold the Web site. One good way to do this is to create a user, then log into that user and create a special directory for Web materials. sudo bash [sudo] password for jbeckett: adduser cormorant Adding user `cormorant'... Adding new group `cormorant' (1002)... Adding new user `cormorant' (1002) with group `cormorant'... Creating home directory `/home/cormorant'... Copying files from `/etc/skel'... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for cormorant Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y mkdir public_html cd public_html nano index.html Now…write some HTML Cormorant Site This is information about Cormorants Save using control-O, get out with Control-X, then exit Linux with a control-D

Configuring Multi-Domain Service – 2 Setting up DNS Using a free DNS service, create a host entry pointing to the IP address for your server. Find out your IP address using the command line on any host (such as your personal computer). Log into the DNS registrar using a free account, then click on “Add Host.”

Configuring Multi-Domain Service – 3 Configuring Apache Using a free DNS service, create a host entry pointing to the IP address for your server. Log in as root, then create a configuration file in /etc/apache2/sites-available. This file is named cormorant.hopto.org.conf DocumentRoot /home/cormorant/public_html/ ServerName cormorant.hopto.org ServerAdmin Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Require all granted ErrorLog /var/log/apache2/cormorant_error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined The items you’ll need to change are highlighted.

Configuring Multi-Domain Service – 4 Installing your configuration Use “sudo bash” to take on root privileges Inform Apache that the new site is to go live the next time Apache is restarted: # a2ensite cormorant.hopto.org Restart Apache # service apache2 reload

Configuring Multi-Domain Service – 5 Testing your configuration Use a browser If something is wrong and you fix it, you’ll need to refresh your browser!