How to access dradis using symbolic url?

Hi,
I’m starting Dradis CE with this command:
/var/www/dradis-ce/bin/rails server -b 0.0.0.0

I can access the web interface using the ip address of the server (e.g. 1.2.3.3:3000), but not using a third level domain (e.g. dradis.xxxx.net:3000).
I have this error:

## To allow requests to dradis.xxxx.net, add the following to your environment configuration: 
config.hosts << "dradis.xxxx.net"

In which file should I write this line of code?
I don’t know how Ruby works.

Thank you

cld

Hi @ioclaudio.

You can add that line to this file.

Based on your post above, you should find this file at:
/var/www/dradis-ce/config/environments/development.rb.

Ensure you add it after line 1 and restart the rails server for the change to take effect.

Let me know if that works for you.


Matt Budz
Designer | Dradis Framework
http://drad.is

1 Like