Search code examples
httptclopenacsproject-openaolserver

creating url to use instead of ip address for aolserver used in project open


In Project-Open tool, aolserver is used to host the application and is accessed using the ip address of the server like 172.XX.XX.XX:8000. Now I don't want to make this ip address public. I tried to create and use url (by making some changes in the config.tcl ) for this but couldn't do so.

Please let me know if my question is not clear enough.

thanks in advance!!!


Solution

  • Well, your question isn't totally clear, but I think what you want is for your website to appear on a URL, such as www.example.com. To do this with AOLserver, you need to edit the /web/server/etc/config.tcl file and edit this line (changing www.example.com to whatever URL you want).

    set hostname              www.example.com
    

    Then restart AOLserver. You might also want to set the port to 80. This requires root access, and you may also need to pass -b to AOLserver in your startup script.