Howto: create homepages and 'subdomains' per user

14 years 2 months ago #123365 by Herrie
I did the following:

At my host I setup a subdomain called subdom.maindomain

Herewith a new folder/directorie appeared in my site's fileslist called subdomain
(sub directory of 'public_html')
In this directory there is a 'index.html'

The original content was:

<html>
<head>
<title>
subdomain.maindomain.nl
</title>
<style>{ font-family: verdana; font-size: 10pt; COLOR: gray; }
b { font-weight: bold; }
table { border: 1px solid gray;}
td { text-align: center; padding: 25;}
</style>
</head>
<body>
<center>





<table>
<tr>
<td>Dit is een placeholder voor het subdomein. <b>subdomain.maindomain.nl</b>
</td>
</tr>
</table>



</center>
</body>
</html>


I changed this into a redirect

<html>
<head>
<title>Subdomain at maindomain.nl</title>
</head>
<frameset cols='*'>
<frame name='main' src='www.maindomain.nl/subdomain.html' scrolling='auto' noresize>
<noframes>
<body>
Your browser does not support frames
</body>
</noframes>
</frameset>
</html>


Next to this I found, downloade and installed 'com_virtualdomains-beta-0-3-0.zip'

It's use is quite simple.
After installation you have to state the main domain name

And next you can add as many subdomains as you like, including the 'www'

So now one can reach the subdomain with www.subdomain.maindomain.nl

If you want to see it IRL

www.bedlamites.nl = the maindomain
www.herle.bedlamites.nl is the subdomain
(login with Name: herle, PW: herle)

Please Log in to join the conversation.

14 years 2 months ago #123586 by mariealline
Where did you find this file? "com_virtualdomains-beta-0-3-0.zip"

I would like to give it a try.

Thank you,
Marie Alline
mariealline.com
footprints-online.com

Please Log in to join the conversation.

14 years 2 months ago #123601 by Herrie
I founds it while 'googling'..
site is:
www.janguo.de

Please Log in to join the conversation.

14 years 1 week ago #129873 by dethierp
I'm currently having the following type of rewriting:
www.mysite.com/fr/mes-activites/userprofile/734

and I would like to add behind this rewrited URL a custom CB field:

www.mysite.com/fr/mes-activites/userprofile/734/cb_CUSTOMFIELD

Is this possible? If yes could you let me know what to do in .htaccess?

Thanks in advance!

Philippe

Post edited by: dethierp, at: 2010/04/11 14:22

Please Log in to join the conversation.

14 years 1 week ago #129879 by Herrie
trhe file is at
www.janguo.de/

And 'How to'..

jus follow the steps I wrote earlier

Please Log in to join the conversation.

12 years 8 months ago #170072 by pepperstreet
Old thread, but very interesting topic!

MyDomain.com/ProfileName


This should be a CB-core function with Joomla build-in SEF URLs ?!
As far as i can see, JomSocial creates a similar URL, and i can set a custom name in the profile preferences. Not crucial, but a very nice idea! Any plans for this in CB 2.0 ?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.201 seconds

Facebook Twitter LinkedIn