how to access website hosted on google cloud only from one static ip address -


i have hosted website on google cloud,i want open website own static ip address of network premises.

is there workaround using .htaccess implement method.

kindly advice us.

with , regards,

vijay maurya

probably possible using htaccess solution setup firewall rule on compute engine allow access ip :

gcloud compute firewall-rules create firewall_rule \          --allow protocol[:port[-port]] [protocol:[port[-port]]]... \          [--source-ranges cidr_range [cidr_range]] 

where cidr_range replace your_ip/32


Comments