I just fell in love with Nethserver, big fan and I am trying to learn this, but it is a whole new animal for me. Please understand, this is fun and I want to learn it. I have followed a lot of Wiki stuff and build a fun little server. Right now the only thing I am missing is that when I type my URL for my webpage I get the default Nethserver 7 webpage. The next problem is when I type my URL I have to do https://www.test.com/wordpress. Can someone point me in the right direction. I followed the wiki to get rid of the /wordpress and I had to rebuild the whole server. I would like to do it right this time. Any help would be apricated.
You want the reverse proxy if you want to redirect the URL you are accessing and have your clients (those looking up https://www.test.com/wordpress) DNS pointed at your nethserver install.
I looked at the reverse proxy, but I don’t think this will help me. When I go to my URL is says “This is a temporary page. You can easily replace it by installing your own index.html page inside /var/www/html/ directory”. Can I do this with the wordpress install?
A much simpler way to accomplish a similar goal (i.e., have visitors to neth.example.com, or whatever FQDN is pointing to your Neth server, be redirected to your wordpress installation) is to just put a simple index.html file in /var/www/html to redirect them automatically–it would look like this:
<!DOCTYPE HTML>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1; url=https://your.domain.com/wordpress">
<script>
window.location.href = "https://your.domain.com/wordpress"
</script>
<title>Page Redirection</title>
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
If you are not redirected automatically, follow the <a href='https://your.domain.com/wordpress'>link</a>.
Visitors will still see your.domain.com/wordpress in their address bar this way, though.
You were right, I just copied what you had sent me to notepad and edit it. When I saved it, it did not have read permissions for everyone, I gave it read and execute permissions. Thanks for your help. I am going back to play with the site now.
Execute isn’t needed (though I don’t think it hurts), but read definitely is. I’d also strongly discourage using Notepad, because it doesn’t understand Unix line endings and will often corrupt files. Either use Notepad++, which is a fine, free text editor for Windows, or use nano on the Neth server itself.