Skip to main content

Changing BookStack Instance URL

If you ever need to change the BookStack instance's URL, run the following command within the BookStack application folder (/var/www/BookStack/):

# Searches for <oldUrl> and replaces it with <newUrl>. Case-sensitive. 
sudo php artisan bookstack:update-url <oldUrl> <newUrl>

# Example:
sudo php artisan bookstack:update-url https://docs.example.com https://demo.bookstackapp.com