Setting up Websites...
 
Notifications
Clear all

Setting up Websites without Domains

4 Posts
3 Users
0 Reactions
2,419 Views
Posts: 14
Topic starter
(@ershadmanesh)
Active Member
Joined: 6 years ago

Hello

I'm trying to set up a host for students for a course that uses ASP.Net and MS SQL for developing web applications. Since there are several classes we decided to use SolidCP or other tools to manage student accounts on the server and hopefully make our life easier than having to set everything up manually for every user. I am in the process of configuring this server and SolidCP (it's my first time) and have several issues and need some clarification, or explanation of how SolidCP works/may work in this situation (or if we may need to find another solution).

We do not have any domains set up for this server, and basically server is a VM with static IP. It seems "Customers" cannot add sites if there are no top level domains specified, is there a way around this?

Additionally we generally set the path to student application folders so they could be reached such as http(s)://<ip address>/<student name or ID>. Is there a way to use the same convention here without having to manually set up hundreds of student accounts and sites manually?

3 Replies
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

It wouldn't be possible to set this up in the way you would like. However i would recommend to do it is to make a sub domain per student and have a DNS Wildcard entry setup for the server such as *.TestServer1.domain.local then for each student make <student name or ID>.TestServer1.domain.local and have them use that.

There is a SOAP API which you could program to create the user, domains & Websites using Powershell for example (So you could get the data from a excel sheet).

Thanks,

Trevor Robinson

Reply
Posts: 14
Topic starter
(@ershadmanesh)
Active Member
Joined: 6 years ago

Hello

thank you for your response Trevor.

Unfortunately using sub-domains is too complicated since this server is running in cloud.

I found one workaround though: to put all the sites under the …/inetpub/wwwroot so at least the path to the student applications will URLs be:

http://<IP Addr>/<student ID>/<domain.local>/wwwroot

It's not very nice, but at least it seems to work. Are there things that we may have to watch out for? I don't think that the users can cross-access their sites this way for example.

Where can I get more information about or documentation on that SOAP API?

Reply
Posts: 1967
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

Wouldn't that be similar as to assigning the * port 80 (or 443) to a solidcp location?
As far as security wise: for any windows server you will always need to optimize security (for example by default the users group has read + execute permission on C disk which has to be removed as it allows any app pool user to read/execute pretty much the whole disk).

but thats pretty much the same for any windows server.

Soap Api calls are unfotunately not well documented at this stage, the most easy would be to look them up via the source code of Enterprise (you might need to sign the CLA for that).

Regards,

Marco

Reply
Share: