Skip to content

Titan Technologies

information security services

Tag: ubuntu 18.04

Apache Redirect IP to Domain

To forward all web requests going to your apache webhosts’ IP to a domain, add the following to redirect to both files in between the VirtualHost tags:
/etc/apache2/sites-available/000-default.conf
/etc/apache2/sites-available/default-ssl.conf

Redirect permanent / https://www.yourdomain.com
Author JessPPosted on November 26, 2018November 26, 2018Categories BlogTags apache, ubuntu 18.04

Recent Posts

  • Postfix Delivery Errors
  • Hardening Apache- Disable Directory Traversal
  • VMWare ESXi setup Syslog through ESXCLI
  • Apache Redirect IP to Domain
  • Upgrade ESXi 6.5 using the CLI

Recent Comments

    Archives

    • July 2020
    • January 2019
    • November 2018
    • December 2017
    • December 2016
    • June 2016
    • May 2016
    • July 2015
    • April 2015
    • April 2014
    • January 2014
    • December 2013
    • October 2013

    Categories

    • Blog
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Titan Technologies Proudly powered by WordPress