Hai, api.example.com open api.example/api

April 15, 2016 1.5k views
Getting Started

basically, I want the user when open api.example.com to see the content of example.com/api/index.html thank you

  • What web server are you using? Apache, Nginx or something else?

    The quickest way to set this up would be to add a new virtualhost configuration (server block for nginx) to your configuration and point that virtualhost to the api directory.

Be the first one to answer this question.