IP Address Setup

Out of context: Reply #4

  • Started
  • Last post
  • 8 Responses
  • armsbottomer0

    check your sites-enabled folder folder if there are any entries already there, you can do:

    $ cd etc/apache2/sites-enabled
    $ ls

    if there aren't any there to reference, you can create one. they usually look like:

    <VirtualHost *:80>
    # Admin email, Server Name (domain name) and any aliases
    ServerAdmin
    ServerName domain.com
    ServerAlias www.domain.com

    # Index file and Document Root (where the public files are located)
    DirectoryIndex index.html
    DocumentRoot /dir/to/your/website

    # Custom log file locations
    LogLevel warn
    ErrorLog dir/to/log/error.log
    CustomLog dir/to/log/access.log combined

    </VirtualHost>

View thread