How To Make Subdomains Point To Public_html Folder
Jan 16, 2009
I have a VPS with WHM/cPanel on linux.
Currently my sub-domain points to a sub-folder in public_html
I want to make 18 sub-domains but I want them to point to public_html instead.
In other words sub.domain.com will point to /home/user/public_html/ instead of /home/user/public_html/sub/
View 4 Replies
ADVERTISEMENT
Jun 28, 2008
I have recently registered a new dedicated server, I am trying to move some sites over. Essentially, what I am trying to do is copy the public_html folder from one server to another.
I have root access on both accounts, I have managed to move the whole home folder from the old to the new, but I guess I would need to download all 2gigs worth of data then upload again, or is it possible to extract only the information you need from the compressed backup.
I am thinking that specifying data from an uncompressed folder wouldn't be possilbe, so, is there a way of moving certain folders from one server to another via SSH?
View 1 Replies
View Related
Nov 4, 2009
I have fresh cpanel, but when i create account it doesn't put public_html and public_ftp folder in the account...
View 10 Replies
View Related
Jun 11, 2009
Im using Cpanel and I would like to have all subdomains of a domain I host point to the main root directory of the site. How would I do that in cpanel? When I click on subdomains do I just put the wildcard * for the subdomain name?
Also what do I do if I want to point all subdomains to the main directory except for the certain domains I specify? So if I wanted blogs.domain.com to point do a different location but still have all other subdomains point to the main directory.
View 2 Replies
View Related
Mar 4, 2007
how can i make in SSH install index.html in evey folder without index in my server?
View 6 Replies
View Related
May 7, 2007
I've set up the affiliate manager from jrox.com for a client of mine. This includes the setup of wildcard DNS so that each affiliate can have username.clientssite.com and have it count their clicks - which works properly.
What isn't working properly is that he also has forums.hissite.com, 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.
Quote:
<VirtualHost 74.53.106.146>
ServerAlias residualvictory.com
ServerAlias *.residualvictory.com
ServerAdmin webmaster@residualvictory.com
DocumentRoot /home/residual/public_html
BytesLog domlogs/residualvictory.com-bytes_log
ServerName www.residualvictory.com
User residual
Group residual
CustomLog /usr/local/apache/domlogs/residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/cgi-bin/
</VirtualHost>
<VirtualHost 74.53.106.146>
ServerAlias www.forums.residualvictory.com
ServerAlias forums.residualvictory.com
ServerAdmin webmaster@forums.residualvictory.com
DocumentRoot /home/residual/public_html/forums
BytesLog domlogs/forums.residualvictory.com-bytes_log
ServerName forums.residualvictory.com
User residual
Group residual
CustomLog /usr/local/apache/domlogs/forums.residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/forums/cgi-bin/
</VirtualHost>
And the bind file for his domain
Quote:
; Modified by Web Host Manager
; Zone File for residualvictory.com
$TTL 14400
@ 86400 IN SOA ns1.lucidic.com. root.lucid.lucidic.com. (
2007050705
86400
7200
3600000
86400
)
residualvictory.com. 86400 IN NS ns1.lucidic.com.
residualvictory.com. 86400 IN NS ns2.lucidic.com.
residualvictory.com. 14400 IN A 74.53.106.146
localhost.residualvictory.com. 14400 IN A 127.0.0.1
residualvictory.com. 14400 IN MX 0 residualvictory.com.
mail 14400 IN CNAME residualvictory.com.
www 14400 IN CNAME residualvictory.com.
ftp 14400 IN A 74.53.106.146
forums 14400 IN A 74.53.106.146
www.forums 14400 IN A 74.53.106.146
* 14400 IN A 74.53.106.146
View 10 Replies
View Related
Jan 13, 2009
what is the difference between www and public_html? I have hosed my domain in a small hosting company and when i was going through all its folders i found both the folder www and public_html has the same content. but by hosting company asks me to upload all my files into public_html. Iam curious to know the difference between these two folders.
View 19 Replies
View Related
May 12, 2007
I'm a customer and don't know much about server management, so like title says, is it okay to put php.ini in public_html?
View 14 Replies
View Related
Jan 31, 2007
I'm currently using this in my .htaccess:
Code:
RewriteEngine On
rewritecond %[url]
rewriteRule ^(.*) [url]
I have this in my root (public_html) folder. However when you go to [url]
it redirects you to [url]
I'm already in the root. Why would it try to go to public_html/public_html?
What's the correct implementation of this .htaccess?
View 0 Replies
View Related
Jul 24, 2009
what should be ideal chmod permission for public_html and other folders.
is 755 fine ? what is most secure one
View 14 Replies
View Related
May 16, 2008
My server has one IP address assigned to it and i use Webmin with Virtualmin to manage domains.
When you put my IP into a browser like [url]however, it points to my websites public_html folder at /home/username/public_html, which was the first domain i set up.
I would like to change it so that the IP points to its own folder: /var/www/html when entered into a browser.. how do i do this?
View 4 Replies
View Related
Mar 31, 2008
I wanted a move 1 accounts from cPanel to DirectAdmin server platform. I know it has to be done manually. But this one account has 800MB.
So the question is:
Is it possible to tar public_html while keeping every permission & folder ownership at it's correct setting?
(Sql is not a problem for me)
View 4 Replies
View Related
Sep 25, 2007
My website has 200,000 webpages.
I would like to upload all of them to the hosting under public_html
I do not use sub directory.
Can I make sever down or slow?
View 10 Replies
View Related
Jul 20, 2008
OK so I'm on the shell and looking at the contents of my home/ directory which has all the various accounts. In each account directory are subdirs such as mail, logs, tmp, etc, and public_html. Is there a way (or a ZIP command) to be in the home directory and create a massive ZIP file containing all the account directories, each containing ONLY the respective public_html subdir for that account?
Using the command "zip -r Backups.zip ./" seems to include all those extra folders (such as mail, etc.) that aren't needed.
View 3 Replies
View Related
Jan 13, 2007
When I'm adding a new account, I got some error:
[url]
How can I fix that?
View 8 Replies
View Related
Dec 18, 2007
I am getting this error and I just installed apache 2.2 and added a user using useradd user. When i added into the virtual which is:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /home/user/public_html
ServerName user.com
</VirtualHost>
It does not find the public_html folder I added. Is this a permissions problem? or something else?
View 7 Replies
View Related
Oct 30, 2007
created one problem for us cpanel
in create new account:
[an error occurred while processing this directive]
Setting up FrontpageŽ...
/home/create1/public_html does not exist or is not a directory!
View 8 Replies
View Related
Aug 14, 2007
On my VPS I would like to set the /tmp folder to 777 and point to it with session.save_path.
The VPS will host a number of sites, but I will have sole control of them. ie. the account holders will not have access to cpanel.
If it makes any difference, the server is running phpSUexec.
What are the risks involved with this?
View 3 Replies
View Related
Dec 11, 2008
How do I direct my httpd file to point to:
home/USER/public_html
instead of:
C:Users estetc...
I want to do this to make my test server just like the remote server.
View 5 Replies
View Related
Aug 13, 2008
How can i point *.domain.com in my DNS?
I want to use wildcard subdomain.
View 6 Replies
View Related
Jul 18, 2008
I have my domain name pointed to a VPS 1. I want its subdomain (for example sub.domain.com) to be pointed to another VPS 2.
So that if someone visits www.domain.com the php files are delivered from VPS1 and if some visits sub.domain.com then php files are delivered from VPS2.
I need to keep my VPS1 rock solid and extremely secure by keeping lowest possible php files and on low load too and want another VPS for online demo and testing (high load and cluttered with php files). I cannot use another domain (for second vps) as the sub.domain.com pages are already indexed on google and changing domain means will have to again reindex them and rank them in google.
View 4 Replies
View Related
May 21, 2008
A UK-based client has approached me with a domain name he has with ALLDOMAINS.com.
We wish to point it to a host so we can run things like PHP,MySQL,WordPress and do mod_rewrite.
We were going between SupaNames,1&1 and FastHosts.
Has anyone had experience of this and who would you go for?
View 6 Replies
View Related
May 27, 2009
we have 2 VPS
vps 1 : install Direct Admin
VPS 2: install Kloxo ( LxAdmin)
IN VPS 1 we have Sub domain ( sub.site.com)
in VPS 2 : im set DNS in Kloxo => sub.site.com when i click in kloxo, Ipaddress /configur Domain
when i select sub domain ( sub.site.com )
show this error :
Alert: To map an IP to a domain, the domain must ping to the same IP, otherwise, the domain will stop working. The domain you are trying to map this IP to, doesn't resolve back to the IP, and so it cannot be set as the default domain for the IP.
View 1 Replies
View Related
Oct 21, 2009
Done that 100 times at many other webhosting but
I put NS1.DREAMHOST.COM but the site cannot be found:
[url]
View 10 Replies
View Related
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 5, 2008
Can anyone recommend a well-established VPS provider with facilities at a major EU connection point, preferably TheNetherlands? I need a small account for secondary DNS and MX, plus some caching experimentation. Might turn into an unmetered dedicated mega-server at the same location if things go as planned, so if you only have experience with dedi or colo at a certain host, feel free to chime in.
I'm already a colo-host and a cPanel distributor myself, so I don't need management or a control panel, just a minimal-install CentOS 5 VPS. (I'll be installing cPanel DNSonly) Here's the kicker though, like most USians, I only speak English (and some would say badly), so the host has to speak at least enough to get the account set up. (preferably has a site in English). The real deal-breaker is that they MUST have their own merchant account and accept credit cards for recurring billing. I will not use Paypal, Moneybookers, or any other 3rd-party processor that requires a registration or manual payments. That almost always indicates an amateur operation in someone's basement. Looking for something along the lines of ThePlanet, but in Amsterdam. (AmsterNet? PlanetDam? )
View 8 Replies
View Related