简体   繁体   中英

Is it possible to host multiple websites on one bucket on Google Cloud Platform?

Which is a better way to host multiple websites, all of them being static? Some are WordPress. Should I create different buckets for all or host all on a single bucket itself? Please let me know how can I host it on a single bucket.

Following the official documentation for hosting a static website on Google Cloud Storage, you'll have to point a domain to the resource you want to serve, ie www.example.com. You need to create a bucket with that name, so you'll need one bucket per domain.

Good thing is that you can create as many bucket as you want for no extra charge, as per Quotas & Limits .

Last thing I'd like to point out is that Wordpress actually isn't a static website. It's built in PHP which won't execute on Storage. There are plugins though that can generate a static website from your wordpress (or you could use App Engine Flexible ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM