Creating Subdomains Dynamically

Feb 28, 2007

I have basic Html and webdesign skills other than that zilch

I am working on my assignment for uni. and wanted to know if I can create multiple sub domains when I am hosted with a webhost.

I want to be able to do the following:users can sign up and get a subdomain of their choice.

users are allocated a limited webspace

The access to file types need to be controlled. In the sense that users can only upload/download certain file types like html, htm, jpg, gif, zip etc.

Users can have forms that work only within their subdomain.

for example the domain name is

the user signs up for [url] where "mysite" is the subdomain.

the user can have a form at [url]

This form should not affect the other subdomains hosted by users. Just in case someone screws up the entire site should not be down.

Is this possible? if yes, any pointers on how I can go about getting this done?
Would the webhost help with setting this up?

Any good webhost I should consider for such a setup? Any other things I should consider like data transfer / bandwidth Would this be a very expensive affair?costs?

View 9 Replies


Plesk API Apache Restart Interval - Dynamically Creating Subscriptions

Feb 12, 2015

I'm using PHP cURL with the Plesk API to dynamically create Subscriptions. The problem I'm having is that the Apache server tends to reset before the response is returned, ultimately interrupting the connection.

I found a Plesk setting to define the Apache restart interval. I set it to 120 seconds, which I thought solved the issue, but I'm still having unreliable connection issues.

The request to create/remove a subscription always completes, but it's the response that I'm struggling to have returned.

View 2 Replies View Related

Creating Subdomains In A IIS / Windows Environment

Jun 24, 2009

I am trying to create a subdomain on my dedicated server myself without paying 20 bucks to get it done through the host. I've been able to create the directory through IIS Manager and have it setup to point to a specific IP.

I'm not entirely sure what to do from this point on....When I type in the subdomain on the browser, it says it can't find it, so I'm guessing I have to do something through the DNS but not sure on how to do this.

It's IIS 6 on a Windows 2003 Server.

View 8 Replies View Related

Loading Php Extension Dynamically

Jul 25, 2009

I realize the title isn't clear enough, but that's the closes to my question

What I basically want to know is if its possible to add pgql support for PHP without rebuilding PHP (running easyapache). Currently all standalone phppgadmin instaces return:

Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.

Is it possible to load the pgsql extension without rebuilding, like you'd do with zend for example.

View 2 Replies View Related

Apache :: Cache Whole Dynamically Generated Webpage?

Oct 21, 2014

i already setup caching for html, images, css, js etc. but my pages are dynamically generated by CMS like wordpress and similar.Is there any apache module or any clever way how i can cache whole dynamically generated page on my server?I mean like i have 6GB ram free, so i would like to dedicate like 3gb for this cache.

View 2 Replies View Related

Wildcard DNS Subdomains Working, But Existing Subdomains Not

May 7, 2007

I've set up the affiliate manager from for a client of mine. This includes the setup of wildcard DNS so that each affiliate can have and have it count their clicks - which works properly.

What isn't working properly is that he also has, which is loading the main website page instead of his forums. He is using cpanel to add the subdomain, and it isn't failing, so I'm not sure what's going on with it.

Here is the relative section from the httpd file.


ServerAlias *
DocumentRoot /home/residual/public_html
BytesLog domlogs/

User residual
Group residual
CustomLog /usr/local/apache/domlogs/ combined
ScriptAlias /cgi-bin/ /home/residual/public_html/cgi-bin/

DocumentRoot /home/residual/public_html/forums
BytesLog domlogs/

User residual
Group residual
CustomLog /usr/local/apache/domlogs/ combined
ScriptAlias /cgi-bin/ /home/residual/public_html/forums/cgi-bin/

And the bind file for his domain


; Modified by Web Host Manager
; Zone File for
$TTL 14400
@ 86400 IN SOA (
) 86400 IN NS 86400 IN NS 14400 IN A 14400 IN A 14400 IN MX 0

mail 14400 IN CNAME
www 14400 IN CNAME
ftp 14400 IN A
forums 14400 IN A
www.forums 14400 IN A
* 14400 IN A

View 10 Replies View Related

WHM Subdomains And DNS

Nov 8, 2009

I'm setting up an auto-configuration script to setup accounts in WHM and create subdomains and so far everything is working fine!

But we have a problem - when an account is setup and the subdomain is not working yet when a customer visits it he gets wrong dns information and then when the domain starts working it's not working for him.

I know that flushdns solves this issue under Windows but I don't want to make my newbie customers run complicated commands.

Will a 5 minut delay solve this issue from the moment the account is created to the moment the customer visists the site?

View 3 Replies View Related

Subdomains With WWW

Jun 13, 2008

my control panel is PLESK, when our customers create sub domain they cannot access to their sub domains with www, for example the sub domain is and I cannot access to this sub domain whit this address .

what should I do to work the sub domains with www ?

View 4 Replies View Related

SSL And Subdomains

Apr 27, 2008

I have a question about SSL certificates and how they function with subdomains.

Right now we have [url]. This subdomain houses our client management tool.

We wanted to use an SSL cert on the above domain so I purchased a wildcard SSL. * SSL was ordered and setup.

However, now when we enter[url]we're seeing the content from, not

I understand we could use [url]but isn't the point of the wildcard SSL so I can do what I want... access [url]?

This is a cPanel/WHM setup.

View 9 Replies View Related

SSL And Subdomains

Jan 30, 2007

I have googled high and low and i'm about to explode. This has been an issue for the last 4 days...

I have

I bought a SSL cert for

I installed the cert

[url] shows the right content

[url]shows the content for [url]
I've had this working before on site5, but I share a dedicated account now with WHM/cPanel and it's not working.

it's like the subdomain is being ignored.
Tll me if i'm wrong, but each SSL needs its own IP correct? i added an IP for and WHM seems to have set it for all the subdomains as well.

View 5 Replies View Related


Jan 13, 2007

I purchased a dedicated server several days ago, and realize that this will be a learning curve for me since I'm not experienced in server management.

I have a quick question about subdomains.

My domain names have resolved (or are still resolving). I created two subdomains on a domain, but I can't access them. I'm not sure if there is anything else I should do to get these subdomains to work.

I'm using Plesk8.1

My domains are registered at GoDaddy (and some at RegisterFly)

if I can provide you with any information such as my DNS template, etc...

View 2 Replies View Related


Nov 5, 2007

I know this question has been asked loads of times, but I don't seem to be able to find the answer I'm looking for.

I'm looking to host the forum part of my site on another server. The main part of my site is on a shared hosting account. Which is fine. I'm adding a forum to the site, and was planning on hosting this on my VPS account as a subdomain. As my shared hosting package is only small.

I've edited the DNS with my domain registration provider and added a A record for pointing to the ip of my VPS account. I then created a account on my VPS for the domain/subdomain. However I don't seem to be able to get the subdomain to work

Do I need to ask my shared hosting provider to do anything? or do I need to edit anything on my VPS? The subdomain doesn't appear to be resolving.

View 6 Replies View Related

Mapping Subdomains To Different VPS's

Dec 11, 2008

I was wondering if it is possible to host subdomains on different VPS's? Here is what I am trying to do -> Hosted on VPS0
- -> Hosted on VPS1
- -> Hosted on VPS2

VPS0, VPS1, VPS2 have different IP addresses.

I tried using A records to point subdomains to different VPS but VPS requires a "primary domain" looks like. Do let me know if this is possible. I tried google but not sure what exactly I shoudl be searching for.

View 4 Replies View Related

Subdomains With Different Passwords

Jun 16, 2008

I'm planning on buying my first domain in order to host various sites of mine in one place. I like the idea of subdomains to separate them, but I was wondering... Is it possible to access different subdomains using different passwords? I'm planning to let a friend of mine use a subdomain to host a site of hers that's related to mine, and I'd like it if she had the security of a different password. I just want to know if I can even do this, and if so, what hosts offer this option?

View 9 Replies View Related

Subdomains And Wildcards ...

May 20, 2008

i have a bit of a problem here. I current have a site sitting on a windows box with wildcards subdomains set up, that are hosted on the same box.

The question i have is can i host [wordpress blog] on a different box such as a linux one? and make it act as

View 6 Replies View Related

Subdomains On Different Servers

May 28, 2008

I have 9 dedicated servers that i use for an applicaton.

what i would like to try and find out is the following.....
all the servers have WHM/Cpanel installed

i want to have a domain ( on 1 server
then i want to somehow have (second server) (Third server)

Is this possible, if so how would i go about setting this up?

View 3 Replies View Related

.htaccess Subdomains

Jul 13, 2008

to have redirect to

to do this, I have:

1) created a DNS record at my hosting company, * and it works, any made-up subdomain correctly points to my server.

2) using Plesk, I created a DNS record, *

3) in an .htaccess file, I put:

RewriteEngine On

RewriteCond %{HTTP_HOST} !^
RewriteCond %{HTTP_HOST} ([^.]+) [NC]
RewriteRule ^(.*)$ [L,R]
... but the thing doesn't work, I keep getting the server's default page:

This is the Control Panel default page

If you see this page it means:

1) hosting for this domain is not configured


2) there's no such domain registered in Control Panel.

View 4 Replies View Related

Cpanel / Whm And SSL's On Subdomains

Mar 9, 2007

I have recently run into the need to setup subdomains on one of my site's with their own SSL certificate. Cpanel only allows one SSL per domain.

Does anyone have experience or a recommendation on how to setup a subdomain with it's own SSL.

My thought is to setup a separate hosting account for the subdomain. i did this in plesk a few times successfully, and in theory it should also work in cpanel. With the separate account, i can install a separate cert and the problem is fixed, but I'm not sure if it will work.

View 5 Replies View Related

Subdomains Search

May 22, 2007

Is there a way to lookup all sudomains for a domain?

View 6 Replies View Related

Subdomains Do Not Work

Dec 15, 2007

For some reasons i cannot get sub domains to work. I have the following and I have DNS entries set for both apps and www.apps but it simply won't resolve the url and it can't be pinged

DocumentRoot /home/mydomain/public_html/apps
<IfModule mod_suphp.c>
suPHP_UserGroup mydomain mydomain
<IfModule !mod_disable_suexec.c>
User mydomain
Group mydomain
BytesLog /usr/local/apache/domlogs/
CustomLog /usr/local/apache/domlogs/ combined
ScriptAlias /cgi-bin/ /home/mydomain/public_html/apps/cgi-bin/

View 1 Replies View Related

Plesk And Subdomains

Apr 7, 2007

I would like to do the following but on Plesk 8.1.0 for Windows:

How should I do it?

View 0 Replies View Related

Subdomains For Customer

Aug 6, 2007

my friend told me all i have todo is type to give my customers a subdomain. Its not working somehow, the subdomain is not reachable. How do i give an account an subdomain?

View 2 Replies View Related

Subdomains Not Working At All

Nov 23, 2007

I have one domain that no matter what I do, cant use subdomains.

I create,, etc, they simply dont work.

httpd config shows:


<VirtualHost SERVERIP:80>
DocumentRoot /home/johnuser/public_html/john
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/ combined
BytesLog /usr/local/apache/domlogs/
<IfModule !mod_disable_suexec.c>
User johnuser
Group johnuser
ScriptAlias /cgi-bin/ /home/johnuser/public_html/john/cgi-bin/

named.conf shows both A entries correct at

john 14400 IN A SERVER-IP
www.john 14400 IN A SERVER-IP
The subdomain was created 2 days go, so this is not a dns propagation issue.

Im using latest cPanel RELEASE version, and RHES 4.

View 7 Replies View Related

Domain Name Server (DNS) Changes With Subdomains

Aug 6, 2007

I currently have shared hosting, but am getting VPS with another company. I'd like to keep my domains on my original hosting and direct the domains to the new server. I've been reading and it doesn't seem that hard to change for a regular domain. The problem is I don't seem to understand how to do the same for a subdomain. I keep reading about the A record and CNAME, but just don't get it.

Does anyone have any experience with this. Do I just put the IP address for the new server in the A record? I just want to make sure I know what's going on before I order my new hosting and find out it's not possible or something.

I'm also curious if mail, like will continue to work. Or is there something I need to change for this as well.

View 2 Replies View Related

Dynamic Subdomains In Plesk

Nov 2, 2008

im trying to set up a site for a client whereby they can add subdomains to their existing domain (,, etc.).

its a dedicated server with Plesk...can anyone point me in the right direction please?

ive searched these forums but havent come up with much, but maybe didnt search for the right terms, so my apologies if this has been answered before.

View 1 Replies View Related Hosting With Independent Subdomains

Sep 25, 2005

I'm a linux guy that occasionally has to work on ASP sites.

Maybe I've just been spoiled, but on my linux accounts I can set up fully functional subdomains that are completely independent of the main domain. In other words, a reference to root like "<img src="/images/pic.gif">" points to the root directory of the subdomain, and all my files for the subdomain are located outside of the main domain's directory tree. I realize I can use the whole URL in the reference, but would rather not for ease of portability. Come to think of it, will a windows server recognize a root reference - does it require any special setup?

Can anybody recommend an host that can handle subdomains like this? I've been searching around wo/ any luck.

View 0 Replies View Related

Forwarding Non-Existent Subdomains

Aug 28, 2006

As the title states I'm wanting to forward many subdomains on a site I recently acquired.

The still has a lot of traffic to subdomains that no longer exist and I want to somehow redirect all of them to my main domain index page.

I didn't figure I could use .htaccess because the subdomains no longer exist.

Is there some way to do this via DNS or perhaps the httpd.conf file?

View 3 Replies View Related

Number Of Domains And Subdomains

Feb 27, 2009

I'm trying to figure out how many domains and subdomains I can get with each plan from Network Solutions, Enom and Yahoo. Is there any set standard of number of subdomains per domain? Network Solutions gives you one domain for two of their plans, three for the third, but says nothing about subdomains...

View 13 Replies View Related

Subdomains, Multiple Servers

Nov 11, 2008

I purchased a domain,, from GoDaddy.

I have 5 servers, 2 running CentOS and Apache, 3 running Windows Server 2003 and IIS. Each server has it's own dedicated IP address, so I can access each site by going to [url]

Would I would like to be able to do is set each of these servers up with a subdomain on my So I would have [url]going to one server, [url]going to another server, etc.

I logged into GoDaddy's Domain Manager. However, it appears that the only form of subdomains they have is redirection. So while I can create, it merely redirects to [url]

I can mask the forward, but this creates problems with the login on the servers because they use cookies. In addition, the address always appears as [url], it doesn't have the "index.html" or "/login/login.aspx" when

I click links. The actual links appear as "[url] and not "[url]

Is there anything I can do? I want the subdomains to point to a particular IP address, not redirect.

View 4 Replies View Related

Support Wildcard Subdomains?

Aug 25, 2008

"Do you support wild card sub-domains?"

a web host has sent me the following:

"Wild card sub-domains will not work with our standard shared hosting accounts. although the DNS configuration is available to have any sub domain not listed direct to an IP address the actually hosting account will not recognize a wild card DNS entry unless you have manually added the specific name of the sub domain."

The only part I understood was the first line. Maybe it is my lack of hosting related knowledge or maybe because English is not my native language, the second sentence is very confusing to me.

What is tech rep trying to say?

View 12 Replies View Related

Subdomains With Vhost.conf

Sep 15, 2008

I'm trying to accomplish a redirect (or rewrite) of [url]to [url]

* I got DNS * correctly pointing to my server.
* I also created a vhost.conf inside /var/www/vhosts/, and Plesk (/var/www/vhosts/ is correctly including the file.
* even though I don't know if it's needed or not, I created in Plesk a new CNAME with value * pointing to

in my vhost.conf I got:

ServerAlias *
RewriteEngine On
RewriteCond %{HTTP_HOST} !^$ [NC]
RewriteCond %{HTTP_HOST} ^([^.]+)
RewriteRule (.*) /temp/%1/$1 [L]

when I try, I'm getting a 500 Internal Server Error.

View 1 Replies View Related

Copyrights 2005-15, All rights reserved