All routers have a different WebUI, so it would be impossible to cover them all. This guide explains in a few steps how to do it generally. Just to have some pictures at least – we will use our own router to give you a hint.

What port should I use?

Port 80 (http://example.com) is the most common port for regular websites, and allows traffic to your server without SSL.

Port 443 (https://example.com) is used for servers that use SSL. This is the safest option and is used i.e. to access cloud servers such as ownCloud.

  1. LOG IN TO YOUR ROUTER

    Type 192.168.X.X (X = 1 or 2) in the browsers address field. Some routers have a sticker on the back with the routers address, also known as “gateway”.

  2. CHECK YOUR CLIENTS-LIST AND CHECK FOR THE VM’S MAC-ADRESS

    static1

    Your MAC-address could look like this:  00:08:C7:1B:8C:02

  3. GO TO YOUR LAN SETTINGS
  4. LOOK FOR A MENU WHERE IT SAYS “DHCP”
  5. LOCK THE VM´S MAC-ADRESS TO THE INTERNAL IP THAT YOU WILL USE

    The MAC-address is that specific LAN-card’s address. You have to lock it to the IP that we will forward port 80 or 443 to.

    static2

  6. GO TO YOUR WAN SETTINGS
  7. LOOK FOR A MENU WHERE IT SAYS “PORT FORWARDING”
  8. LOCK PORT 80 AND/or 443 TO THE IP YOU JUST SET AS STATIC

    static3

    Note to those who downloaded the WordPress VM

    The Virtual Host for the WordPress VM is preset to 80. If you want to use SSL, just activate the SSL Virtual Host instead. You activate it by typing this in terminal:

    :~$ sudo a2ensite wordpress_port_443.conf
    :~$ sudo a2dissite wordpress_port_80.conf
    :~$ sudo service apache2 reload
  9. CHECK IF the port is OPEN

 

Pro tip

The next step is to make a virtual host in Apache.