Automatically Creating A Subdomain For Each User
Jun 19, 2007
Here is a summary:
One) allow users to register at the homepage. Then give them automatically a URL such as username mydomain com
Two) A catch-all subdomain so that if someone browses to xxxx mydomain d0t com and xxxx is not registered by any user; then it is redirected to www mydomain com
Three) All registered subusers details to be maintained in Mysql database (this seems to be easy)
Four) If possible, impose individual quota on each registered user (not really critical).
Which hosting plan should I go with for this? VPS? Shared hosting? Something else?
any particular company? what's the best approach for automatically creating the subdomain for each user upon registering at the site?
View 1 Replies
ADVERTISEMENT
Jul 29, 2009
I have some URLs like:
[url]
[url]
Now,I would like to create an alias/sub-domain for this URL. For example:
[url]-> [url]
[url]-> [url]
how this can be done? Do I have to create a subdomain for this? But when I try to create a subdomain throught the OLM control panel, it asks me for the real path i.e. '/var/www/html/subdomain_folder' which I don't have in this case. Secondly, can this be done without modifying any information in the DNS? Changing DNS costs be $5/change from OLM
View 2 Replies
View Related
Aug 20, 2007
I have a problem here.
I have 2 domain on 1 account, which one is called domainA.com & domainB.com is an add-on.
I created 2 same subdomain name which are assigned to same subfolder!
subdomain.domainA.com (/public_html/subdomain)
subdomain.domainB.com (/public_html/subdomain)
The question is: How do i change domainB subdomain folder to something else? (eg. /public_html/domainb/subdomain)
View 1 Replies
View Related
Jul 18, 2009
I am facing a problem with one of my Windows 2003 servers. The websites hosted on the server use IUSR_computername user for anonymous authentication for the websites. Please note that I have anonymous authentication disabled for FTP. The problem is that every night the IUSR_computername user gets deleted automatically and all the websites start asking for password as there is no user for the anonymous browsing of the websites. I checked the event log, but could not find anything. How do I find why the user is getting deleted automatically?
View 1 Replies
View Related
Jun 20, 2014
I am planning to create site with sub domains like smth.domain.pl and there will be around 10 sub domains now my question is how to handle sub domain creation trough plesk or by htaccess ?
View 1 Replies
View Related
Apr 24, 2014
I am trying to write a script PHP creating a subdomain on a server when executed (as well as doing other stuff, but that part work). But, when I send my request to the server, the script, while it does create the subdomain, doesn't display anything upon execution (I have put a few echo in the script to check the advancement, and nothing appears).
The error message : Echec du chargement de la page Aucune donnée reçue.
Here is my code :
/**
* Returns DOM object representing request for creation of new subdomain named after the parameter
* @return DOMDocument
*/
function createSubdomain($nom)
{
$xmldoc = new DomDocument('1.0', 'UTF-8');
$xmldoc->formatOutput = true;
$packet = $xmldoc->createElement('packet');
[Code] ....
The function curlInit and sendRequest are those used in the examples provided on this site, but I put them here just in case :
/**
* Prepares CURL to perform Plesk API request
* @return resource
*/
function curlInit($host, $login, $password)
[Code] ....
Why it doesn't send anything back ? When I modify the property line in the request, the script displays something, but it also fails at creating the subdomain (because the parameters are incorrect).
View 3 Replies
View Related
Jul 8, 2014
In the attached image, the following error details to create a new subdomain
View 3 Replies
View Related
Jan 22, 2007
I currently own a few web hosting company's.
Where i seem to be having trouble is that i have allways used Reseller accounts to run my business. But recently this month i have purchased My own Servers.
I currently Own 9 Servers in total. So when it comes to Actual Server Managment im running into a brick wall lol
One of my business's invlolves Free web hosting.
And and I have been using one server for the free web hosting clients.
The problem is that sigle server is Maxed out I cannot add any more accounts to it withought jeperdising its stability.
This service Not only inlcudes Free domain hosting but sub domain hosting as well.
So now that you know a little background on what im doing heres the question
We use Client Exec as our billing and Auto Account Creation and we know its possible to Add multiple server to Client Exec and we can tell it to creat new accounts on anouther server But what hapends when someone wants a subdomain?
Its my understanding that subdomains can only reside on the server that the actual domain is being hosted. Is this right ? or is there a way to creat subdomains of a .com on anouther server where is not located...
Also i was wondering if it was possible to join servers together in one whm?
So under Ip Adresses we could just specify a new Ip & server would this work ?
I really need help fast since i get an average of 90 sighnups a day. and im sorry if theres a simple solution to this.. Im just new to actually owning my own hardware instead of using someone elses.
to me it just doesnt make any sence and i know it needs to be possible somehow ..
View 2 Replies
View Related
May 1, 2013
recently i created a domain subscription with 3 alias domains. Thanafter i created a sub domain to a folder in the main domain. At first all went fine but after deleting the alias domains subdomains ans domain supscrption to register all the 4 domains each seperately a problem accured and i cant add any subdomain to none of the 4 domains. registering the domains themselves as individual domain works for each one perfect. But as soon as i try to add a subdomain on any of that 4 domains i get an error that the dns data could not be updated. As it looks like there is still some codes in the plesk database that links to 4 domains in any kind together and prevents me to creste a subdomain.
How can i manually remove all the domains subdomains and alias domain garbage from the plesk database. I use windows version of plesk panel 11.0.9 on windows 2008 server datacenter edition. I have good skils in IT but im not familiar with mysql and plesk. how to remove the records from plesk Mysql database. Command line commands internal commands locations that have to be altered and all other needed steps.
View 1 Replies
View Related
Mar 21, 2015
I am using Web admin edition .I need to create two subdomains namely sub1.example.com and sub2.example.com with different IP address. So i need to create two webspaces since a webspace cannot have two domians pointing to two different IP. So now to I can create two webspaces set to different IP. But to create sub1.example.com in one webspace and sub2.example.com in another webspace , i need main domain example.com in both the workspace. But if try to create example.com in second webspace it already exists.Because it exists in another webspace. Actually i dont want to create example.com in both webspace. i need to its subdomain in different webspace.
So one solution is to create example.com and sub1.example.com in one webspace and create another webspace using Adding new webspace and specifying domain name as sub2.example.com. But i don't know does the second subdomain will work properly without creating main domain.
View 1 Replies
View Related
Dec 23, 2007
How do you create a user and group in Centos?
useradd says command not found.
View 6 Replies
View Related
Sep 22, 2012
I have a problem with my plesk v11, when i create a new subdomain and upload my asp.net application to that and make a request to view my web page it get Server Error 401 :
401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.
But my main web site have not any problem and works fine, my changes that didn't work :
1) change in web.config file :
<authentication mode="None">
</authentication>
2) change in web config file :
<authorization>
<allow users="?"/>
</authorization>
Another question that i have is this happens because the Plesk's default permission assigning to the main domain so the users can view content without problem, but the permission isnt assign to the created subdomains ?
If this is the problem, how can i fix it so my users can see the content with our Windows Authentication or Forms authentication or anything else?
this is my domain name : www.senatex.ir
and this is my sub domain : nerkh.senatex.ir
Also parallels default host files not have any problems, for example : content.senatex.ir
View 1 Replies
View Related
Jun 30, 2012
I recently upgraded to version 11.0. Since the upgrade, I am not longer able to to create Sub-Domains. I did this all the time with version 10x with NO issues whatsover, but now I get the following error when trying to create a subdomain:
Error: Invalid webmail type
SCREENSHOT OF ERROR IS ATTACHED.
View 9 Replies
View Related
Jun 14, 2008
how can i create directories in my (public_html / htdocs folder) that have disk space and traffic quota?
i activated the disk quota to the native linux file system and i tried to create a user but i could not put this user in any folder in the public_html (i dont know how to do this) also there is no option to create bandwidth quota..
one more detail is that the folders need to be protected with login and password because people may try to enter this folders (e.g. www.mydomain.com/protectedfolder)
all this using webmin or another free good script.
View 4 Replies
View Related
May 11, 2015
Wordpress installation (WPML with 3rd level domain es. site. com, fr. site. com).
I need to redirect page from subdomain to a new subdomain
Example:
esp.site.com/oldpage -> es.site.com/newpage (different subdomain)
esp.site.com/oldpage1 -> es.site.com/newpage
esp.site.com/oldpage2 -> es.site.com/newpage
Source site is very chaotic and there are no clear rule for redirection (no regex )
So I need to redirect every page but syntax:
Redirect 301 esp.site.com/oldpage http:// es.site.com/newpage
doesn't work!
which is the correct syntax ?
Can I manage all from one .htaccess file in main root (www) or should I create "esp" directory (and point old subdomain to it - one for every language) and put .htaccess in every directory with redirection ?
View 1 Replies
View Related
May 7, 2007
I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)
If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com
View 3 Replies
View Related
Feb 17, 2008
we compile a php 4 with all the modules that we require. However, after a day or so, it automatically becomes a fresh compilation of php 5. We then recompile to php 4, but same thing, after a day or so it become php 5 again. We've checked cron, and there's nothing to do with recompiling php.
View 5 Replies
View Related
Oct 24, 2008
reboot my vps every 30 min automatically in my hypervm control panel. How can i do that?
View 12 Replies
View Related
May 15, 2009
i install csf/lfd with centos and cpanel,
i find certain waste many use a lot of resource and it does not work now,
is it possible csf/lfd block it?
if possible,how can i check if it is blocking?
View 5 Replies
View Related
Sep 16, 2008
I'm not 100% sure where to ask this, so feel free to move it to a more appropriate place if necessary.
At present, my webhost provides me with some statistics about my website through "AWStats". The problem I have is that if I don't update the 'stats' everyday, then I lose that day's records and I have a gap in my statistics.
is there a way I can automate the updating of the AWStats?
View 10 Replies
View Related
Jul 2, 2008
I use rfxnetworks.com/sim.php on my cpanel server and it all worked fine until the last week where each morning 6am GMT I get a status warning telling me that XINET was down and that it had to restart it.
Has something changed? Is there now something weird about XINETD and cpanel? My cpanel is stable and set to automatically update.
In fact it looks like something ALWAYS shuts it down and then SIM restarts it looking at a section of messages:-
Jul 2 05:57:02 tkey-29dd xinetd: xinetd shutdown succeeded
Jul 2 06:00:01 tkey-29dd xinetd: xinetd shutdown failed
Jul 2 06:00:01 tkey-29dd xinetd: xinetd startup succeeded
What is causing my server to shutdown xinetd in the first place?
View 0 Replies
View Related
May 4, 2008
I manage a website which runs on the cpanel/whm interface and was wondering if there was anything my host could do to prevent DoS attacks on the server...at the moment we are having huge DoS attacks on our website therefore taking the whole website down for quite long periods of time.
My host just seems to be manually blocking the DoS'ers IP's manually but this is just too tedious and not efficient enough.
Is there any program for example that he can install which will block andy ip which sends a certain amount of requests within a given time period?
View 3 Replies
View Related
Feb 21, 2008
Is there a way to start apache in linux if it goes down automatically?
View 10 Replies
View Related
Oct 11, 2007
Is there a way to automatically remove files from a folder on a schedule, say daily, and move them to the Recycle Bin? Can the Recycle Bin files be deleted daily on a schedule? If so, how?
I have Microsoft Office Professional 2007 running on a Windows 2003 Server.
View 2 Replies
View Related
Jan 16, 2013
How to restart apache automatic every 12 hours ?
View 6 Replies
View Related