Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

DNS, Domain Names, and Apache vhosts

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:03
    with Addison Berry
  • 0:04
    When working with domain names
  • 0:06
    and making sure that that domain name actually displays
  • 0:10
    the right thing to your browser, it can sometimes be a little confusing
  • 0:13
    about what pieces are in play and how they all fit together.
  • 0:17
    You need to have a domain name server-- or DNS-- that can manage
  • 0:22
    mapping that domain name that you have ultimately to a server.
  • 0:27
    And then the server needs to know where are those files that you're
  • 0:30
    supposed to display in the web browser.
  • 0:34
    So in this lesson, we're going to walk through the entire request

DNS, Domain Names, and Apache vhosts


When working with domain names and getting a website to show up in your browser, it can be a little confusing to sort out which bits of the puzzle are where. You need to be able to properly configure the domain name server (DNS) so your browser can match up a domain name with a web server, and then make sure the Apache web server knows which files to direct that incoming domain name to. In this lesson we're going to walk through the process from the browser request to the website files. We'll take a look at the Apache documentation on virtual hosts (or vhosts) and discuss where to find this configuration. Then we'll take a look at some example vhost files to see what's going on in there.

Log in or sign up to download companion files.
Additional resources: