Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Mark R on April 08, 2004, 03:06:05 PM
-
I was wondering, am i able to host two sites, one being an internet site and the other a intranet only visible from the lan, is sme able to do this and how??
-
Yes you are...
The way to do it is to set up a virtual domain.
The primary website could be the one accesible from the internet, while the virtual domain could be hosted on an ibay whith the access rights set to local only.
Best regards
Per Smith
-
Can you have primary website accesible from the internet, secondary or many website accesible from the internet with one SME server?
A short howto or link would be nice and the pro's and con's.
Thanks
-
OK, this is how to do it:
1. Create a new i-bay using the server-manager.
2. Set the "Information bay name" to anything you like.
3. Set Group to Everyone.
4. Set "User access via file sharing or user ftp" to whatever you need to be able to upload the content.
5. Set "Public access via web or anonymous ftp" to "Local network (no password required)"
6. "Set Execution of dynamic content (CGI, PHP, SSI)" to whatever needed for your site.
7. Click the Save button
Next, create a Virtual domain, using the server-manager. To do so, click "Virtual domains", and on the following screen click the create new virtual domain link.
1. Set the desired name for the domain, ie. "myinternaldomain.com" (withouot the quotes)
2. In the "Content" drop down combobox, select the newly created i-bay.
3. Click the Create button.
Now you should be able to try out your virtual domain by opening the url http://myinternaldomain.com in your web browser. You will only get at page telling you that the i-bay hasn't been configured yet, but you'll be able to see that it works.
Now all you have to do, is to fill in some nice intranet pages in your ibay.
Hope that this will help explain things a bit...
Per Smith
-
I am interested in hosting two distinct web sites on one SME server. Both would be public to the internet. I understand SME Virtual Domains and have a couple working internally, plus a couple that can be access using a URL like this:
http://www.myprimarydomain.com/myvirtualdomain
Works fine. What I don't understand is what I need to do, if it is possible, to support two distinct doamins. E.g www.myprimarydomain.com
and www.myvirtualdomain.com
.
Can someone help me get a clue?
-
Hi Mophilly
It is just the same process - create virtual domain and point it to an ibay.Set ibay access to internet. You just need to get whoever is hosting your domain to redirect it to your sme primary domain name and all should work fine.
Good luck
brian K
-
I am interested in hosting two distinct web sites on one SME server. Both would be public to the internet.
Hi, Mophilly
Of course it's possible. I have four such domains hosted on my server at present. - But you need the cooperation of your DNS-provider.
Once you have set up the two distinct domains in SME ((www.)mydomain.xxx and (www.)extradomain.xxx), you just ask your DNS-provider to make A-records for the two domains, both pointing to your external ip-address (assuming it's a fixed ip, otherwise I'm not the man to ask).
The SME will make the correct connection automagically (after up to 24 hours).
Oh, I nearly forgot: They both have to be registered with your top level domain registrar, of course.
-
Thanks for the replies. I apologize for being silent after posting a request for help. A death in my family closed my shop for a few days.
Anyway, thanks again. I think I get it and will give it a go.
-
I'm not too sure if anyone would still read this.
Anyway this is what I found out.
OK, this is how to do it:
1. Create a new i-bay using the server-manager.
2. Set the "Information bay name" to anything you like.
3. Set Group to Everyone.
4. Set "User access via file sharing or user ftp" to whatever you need to be able to upload the content.
5. Set "Public access via web or anonymous ftp" to "Local network (no password required)"
6. "Set Execution of dynamic content (CGI, PHP, SSI)" to whatever needed for your site.
7. Click the Save button
Next, create a Virtual domain, using the server-manager. To do so, click "Virtual domains", and on the following screen click the create new virtual domain link.
1. Set the desired name for the domain, ie. "myinternaldomain.com" (withouot the quotes)
2. In the "Content" drop down combobox, select the newly created i-bay.
3. Click the Create button.
Now you should be able to try out your virtual domain by opening the url http://myinternaldomain.com in your web browser. You will only get at page telling you that the i-bay hasn't been configured yet, but you'll be able to see that it works.
Now all you have to do, is to fill in some nice intranet pages in your ibay.
Hope that this will help explain things a bit...
Per Smith
The quoted message above doesn't work when I type http://myinternaldomain.com and I found out that the quoted message below works.
I am interested in hosting two distinct web sites on one SME server. Both would be public to the internet. I understand SME Virtual Domains and have a couple working internally, plus a couple that can be access using a URL like this:
http://www.myprimarydomain.com/myvirtualdomain
Works fine. What I don't understand is what I need to do, if it is possible, to support two distinct doamins. E.g www.myprimarydomain.com
and www.myvirtualdomain.com
.
Can someone help me get a clue?
I was wondering, if the domains http://primarydomain and http://internaldomain were to be access via intranet only. Isn't this possible?
What I can think of is that to set the DNS Server/provider as was said earlier. Is there a method to configure SME Server to function as a DNS server just for intranet purposes?
And is it able to configure virtual host with apache?