1. dmptool
  2. main
  3. Issues
Issue #116 open

www.dmptool.org does not forward to dmp.cdlib.org

Perry Willett
created an issue

http://dmptool.org forwards properly, but www.dmptool.org does not.

Comments (2)

  1. Marisa Strong
    • changed status to open

    www.dmptool.org doesn’t seem to be a registered name.

    $ dig www.dmptool.org ANY

    <<>> DiG 9.7.3 <<>> www.dmptool.org ANY
    ; global options
    +cmd
    ; Got answer:
    ; ->>HEADER<<- opcode
    QUERY, status: NXDOMAIN, id: 6752
    ; flags
    qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:

    www.dmptool.org. IN ANY

    ;; Query time: 12 msec ;; SERVER: 192.168.7.254#53(192.168.7.254) ;; WHEN: Thu May 10 17:35:11 2012 ;; MSG SIZE rcvd: 33

    So you'll need to ask NOC (via cdlsys@ucop.edu) to make add a CNAME entry for www.dmptool.org pointing to dmptool.org. After that I like to make http://www.dmptool.org/ redirect all requests to http://dmptool.org/ in apache with a virtual host. It's pretty straightforward once virtual hosts are configured. It looks something like this:

    NameVirtualHost *:80 <VirtualHost *:80> ServerName www.dmptool.org Redirect permanent / http://dmptool.org </VirtualHost>

  2. Log in to comment