Mobile app version of vmapp.org
Login or Join
Smith883

: Allow third party to use domain subdirectory without risk to your server If you have a live site on example.com, is it possible to allow third-parties to set up their own site at example.com/project1,

@Smith883

Posted in: #Directory #Domains #Security #Subdirectory #Url

If you have a live site on example.com, is it possible to allow third-parties to set up their own site at example.com/project1, example.com/project2 etc without subjecting your server to risk?

I know that this is possible via subdomains, e.g. project1.example.com, project2.example.com, but this question is specifically about directories on the same subdomain.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Smith883

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sarah324

Yes, it is possible, if you did not set any permission to Root Domain.

For example, if you install WordPress blog in subdirectory like example.com/blog/ and let's assume, your blog is hijacked by hackers, then they can change index page of /blog address(Because they have access to WP database), they can't change anything in your root domain unless, you are not using same database, or completely different database. So, it's depends on which type of permission you are granted.

Subdomains helps in security, because you can host your subdomain in different host/server(by Using CNAME) with different credential.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme