robots.txt is a file that search engines like Google look for to get info on what NOT to index from the site it's crawling. It is not required to run a Moodle nor run any web server.
Heck, for now, ignore that ... that's NOT your issues. FOCUS! ;)
The larger issue is the /var/www/:8080.
I'll ask again ... why is the web server running on port 8080?
In the blog page you followed it didn't mention config of apache ... it did say to use the IP address to access. It didn't mention config of apache for port 8080! Well, you are trying to take that a step further and use a no-ip FQDN. That's the issue with Moodle. wwwroot (in your case) needs to be a FQDN ... to be consistent for access inside as well as outside your home network.
So here's some official docs on apache:
https://httpd.apache.org/docs/trunk/vhosts/examples.html
So ... some more 'fishing' ...
In your apache config file there should be a listen line ... is your apache set to listen on port 8080?
SEE above link to apache docs.
What do you have in /etc/hosts on the raspi box? Normally, that will have only an entry for loopbackup IP (127.0.0.1) and pointed to localhost.localdomain ... none resolvable to the outside world.
So, suggest (again) making an entry in your /etc/hosts file:
[INTERNALIP] composablelogic.no-ip.biz composablelogic
this will help apache find it's name. Restart apache server, then check the logs for apache for errors. In your workstation you are using to access the raspi, do the same thing ... an entry in it's host file with same info as above. Now if you have a "Wonders" workstation, please don't ask how to do that .... Google for it. Do know that on a Mac and on Linux that hosts file does exist in /etc/ and I've done what I'm suggesting for a variety of reasons ... it does work.
Now for NO-IP ...
http://www.noip.com/support/knowledgebase/configure-ip-hostname/
Port 80 Redirect: This option
needs to be used if your Internet Service Provider blocks port 80, which
most commonly do. It enables you to reach your server without having
to type the port after the hostname.
Example: Without Port 80 redirect you would have to type the following into your browser: yourhost.no-ip.org:8080. With Port 80 redirect you can simply type the hostname: yourhost.no-ip.org
From what it says above, I gather, your Moodle and Apache needs to be configured for port 8080???
At this point, since I don't run no-ip, nor raspi, you'll have to figure that out ... Moodle, however, has a requirement that the wwwroot variable *IS* the only way the site can be accessed.
By all means pursue a solution. And, if you are successful, please come back here and post your resolution for the next person to 'adventure' into raspi with no-ip etc., etc.
'spirit of sharing', Ken