Viewing 2 replies - 1 through 2 (of 2 total)
  • When I see you say:

    http://mydomain1.com is redirected to mydomain1.myddns.me/mydirs

    I wonder what this means. Does it tie your localhost to using an internet service ? Your computer has everything it needs.

    In my configurations I do this in two steps:
    A) Add the name to /etc/hosts, this line would be:

    127.0.0.1 mydomain1.com
    127.0.0.1 ​www.mydomain1.com

    B) in /etc/apache2/sites-enabled/001-local
    add a block similar to:

    `
    <VirtualHost *:80>
    DocumentRoot …/web/mydir1
    ServerName mydomain1.com
    ServerAlias ​www.mydomain1.com
    </VirtualHost>
    `

    Done this way the I have absolute freedom in choosing the name, it doesn’t need to be purchased or registered anywhere.
    On any computer on the network I can add an entry in the hosts file and direct it to your server. I can do this too if I setup port forwarding at the internet gateway.

    Thread Starter interest_period

    (@interest_period)

    well, first of all: thanks for your reply!

    i own a domain, called http://mydomain1.com, so that my clients can reach my blog when typing in http://mydomain1.com into their browser.

    the machine that hosts the blog is my nas, as described above. it is connected to the internet via my internet-provider which gives a new ip-address when i establish the connection between my nas and the internet.

    in order to point http://mydomain1.com to my nas i use ddns. the ddns-url is http://mydomain1.myddns.me . At my domain provider i set up a forwarding of all requests for http://mydomain1.com to go to http://mydomain1.myddns.me/mydirs which in turn is the mydirs-subdirectory on my nas.

    the rest can be found in my first post.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘After login I get a blank screen – only when working remote’ is closed to new replies.