Hosting a website is not illegal; however, each country has its own internet rules and policies which may prohibit certain types of content, such as gambling is not allowed in Vietnam.