Add a vhost that is just an alias for this existing server

Discussion in 'General OpenLiteSpeed Discussion' started by Rafting Batu, Feb 24, 2017.

  1. Rafting Batu

    Rafting Batu New Member

    Hi,

    how to add a vhost that is just an alias for this existing server, so it can be accessed using a different domain name?

    my case is, i have wordpress based website & yoast seo plugin to generated sitemap index, this domain with cloudflare flexible ssl, but i get trouble when i want to submit www domain sitemap index to webmaster tools, my site is https://raftingbatu.id

    i'll appreciate who can help, thanks!
     
  2. lsfoo

    lsfoo Administrator

    Hi @Rafting Batu

    I'm not sure if you really need a second vhost, assuming the site is currently running litespeed.

    The key configurations to change:
    1. Listener -> vhost mapping. If this is already a *, there's nothing you need to change. If not a *, add your alias to the list of domains that map to this vhost.
    2. VHost Settings -> General -> Domain Alias. Adding the domain alias here should complete the task.
    And as always, after changing configurations, restart the server.

    Let me know how it goes!
    Kevin
     
  3. Rafting Batu

    Rafting Batu New Member

    Hi, thanks @lsfoo for reply, im sorry if i didnt explain clearly, because my english not good

    Where is VHost Settings -> General -> Domain Alias ?? i cant find "Domain Alias" field,
    btw, i use OLS 1.4.13

    Thanks
     
  4. lsfoo

    lsfoo Administrator

    You should consider upgrading :)

    Here's a screenshot, I think it should look similar in 1.4.13.
     

    Attached Files:

  5. Rafting Batu

    Rafting Batu New Member

    cant find it in that menu

    i'll upgrade OLS, thanks (y)
     

    Attached Files:

  6. lsfoo

    lsfoo Administrator

    Hi @Rafting Batu

    Were you able to successfully upgrade OLS and find the option?
     
  7. Rafting Batu

    Rafting Batu New Member

    Hi @lsfoo

    Yes, finally upgrade OLS and find that options :D(y)

    Thanks a lot!
     

    Attached Files:

    lsfoo likes this.
  8. lsfoo

    lsfoo Administrator

    Excellent! Let us know if you run into any new issues (y)
     

Share This Page