I guess you first need to get clear on some terms I'll use:
Client means the machine where you start ssh. This machine is refered to by "local".
Server means the machine you want to connect to with ssh. This machine is refered to by "remote".
Local port forwarding with ssh means you connect from your client to your server and thereby open a tunnel so that another program on your client can connect via a local port to a host&port on the server site. The option for this is -L local_port:remote_machine:remote_port.
Remote port forwarding with ssh means you connect from your client to your server and thereby open a tunnel so that a program on your server can connect via a port on the server to a host&port on the client site. The option for this is -R remote_port:local_machine:local_port.
If I understand you correctly, you want a local forwarding, e.g. create a connection to your server name.dnydns-server.com and then connect with your local browser to port 8888 on name.dnydns-server.com.
The following command from your list should actually do what you want:
ssh -L 8888:localhost:8888 name.dnydns-server.com
The first 8888 is the port on your client that your additional program (browser) can connet to.
The "localhost" in that line is seen from the end of the tunnel, that is on the server (name.dnydns-server.com). There localhost is the machine itself so it's the one you want. (You could place a different name on the network of your server there to access that)
The second 8888 is the port you want to connect to on the server site. If you run your webserver on the standard port 80, you'll have to change this to 80.
name.dnydns-server.com is the name of your ssh server where you connect to, which is then the endpoint of the tunnel.
I don't know why this line didn't work for you though. Did you quit the ssh? It has to stay connected the whole time for the tunnel to work. Default port on the webserver? Webserver not running?
Edit: I changed the definition of "client" and "server" to clarify things, so some of the comments don't apply anymore and refer to deleted content.