The makeshift solution I am currently using is to put an index.php file in /var/www/html/ with “header( ‘Location: http://www.irhb.org/w/index.php’ );”, but this clearly isn’t the best solution, and a user who navigates to http://www.irhb.org/ is redirected to http://188.8.131.52/w/index.php/Main_Page instead of to http://www.irhb.org/w/index.php/Main_Page .
I have experimented quite a bit with /etc/apache2/sites-enabled/000-default.conf and putting an .htacces file in /var/www/html/ , but I can’t seem to get it right :-)
I would be grateful for your help.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.