Two Domains To Same DocumentRoot
Nov 7, 2009
Lets say you own the .com and .net of a domain name. Are there any consequences to pointing your DocumentRoot of two domains to the same directory? I'm thinking this could mess up your logs, passwords, or general configuration. Let me know if you've had any experience with this.
View 6 Replies
ADVERTISEMENT
Oct 19, 2008
I'm doing some work for a friend of mine, and he's requested that he be able to have multiple domains refer to the same DocumentRoot (have all the domains load the same pages).
Is this possible through CPanel?
View 4 Replies
View Related
Sep 9, 2007
about a few days go i signed up for a VPS with TekTonic.net
My issue at the moment is i wanted to setup .htaccess to prevent hotlinking.
Currently I am using Plesk 8.
So i created the .htaccess file and it looks like this:
Code:
#Stop A directory index from being shown
Options -Indexes
DirectoryIndex index.php index.php3 messagebrd.pl index.html index.htm
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(jpg|jpeg|gif|bmp|png|swf)$ - [F]
sounds good so far? ok. i put this file in the root of where all my html files go.
According to what plesk created for me, it is: /var/www/vhosts/mydomain.com/httpdocs
but that just wont work! it just wont!
So i pulled up the /etc/httpd/httpd.conf file and found out that theres two reference to DocumentRoot.
The first one reads:
DocumentRoot "/var/www/html"
and then again a few lines below it
<Directory "/var/www/html">
ok that just doesnt sound right. Because in that directory, /var/www/html is this:
Code:
[root@mydomain html]# pwd
/var/www/html
[root@mydoamin html]# ls -la
total 16
drwxr-xr-x 3 root root 4096 Sep 9 04:43 .
drwxr-xr-x 9 root root 4096 Jun 26 19:28 ..
-rw-r--r-- 1 root root 316 Sep 9 04:43 .htaccess
drwxr-xr-x 4 root root 4096 Sep 6 21:24 awstats
ya. theres no symlink to /var/www/vhosts/mydomain.com/httpdocs or any reference in the httpd.conf file whatsoever!
So i put the .htaccess file in /var/www/html and the .htaccess hotlinking worked! (as in no one can hotlink from me now)
(I've attached a copy of my httpd.conf file for review)
View 3 Replies
View Related
Oct 6, 2009
how to change DocumentRoot path?
like from this:
/public_html-maindomain)
/public_html/domain2
/public_html/domain3
/public_html/domain4
/public_html/domain5
to this:
/public_html/maindomain
/public_html/domain2
/public_html/domain3
/public_html/domain4
/public_html/domain5
View 8 Replies
View Related
Sep 25, 2014
I run windows 8.1
Installed Apache 2.4.10 into c:apache24
Apache is run as service
I tried to change documentroot and directory to e:xxx....
When I test localhost/test_apache.html (my own html) I get error
"Forbidden You don't have permission to access / on this server."
Have I changed all needed parameter or is it a real permission problem?
View 1 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
Dec 10, 2014
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
plesk parrells ,12.0.18 ,Update #26 ,centos 7 , 64 bit
PROBLEM DESCRIPTION
file in documenRoot folder eg httpdocs wont display properly
STEPS TO REPRODUCE
create a new sLTubscriptions , then ftp files into document root folder using filezilla
[Code] ....
The weird thing is when I put the files into a subdirectory (eg www.example.com/home /) the site itself shows correctly. But when I put the files back into the document root folder(eg httpdocs) it doesn't show correctly. Also no css or javascript error messages show up in the chrome debug window?
View 7 Replies
View Related
Apr 18, 2008
I have 2 wordpress blogs, and I'd like a few different domains to be shared on each of them.
Using some exemples, suppose I have domains from domainA.com to domainE.com. domainA.com is my main domain and the others are addon domains.
Today Blog1 is using blog.domainA.com, and domainB.com and domainC.com use WebRedirect to blog.domainA.com. And Blog2 uses domainD.com with WebRedirect on domainE.com too.
To access a post like /2008/02/02/this-is-a-nice-post, it is available only at blog.domainA.com, and not by domains B and C. I'd like they 3 to be able to access all posts directly, without redirecting to domain A.
To do that, I suppose I'd need to do some config on cPanel. And also on wordpress, even if I replicate it over other domains it insists to redirect to its configured domain.
I was thinking on the possibility of using symbolic link (ln -s) on their folders to blog.domainA.com folder, but I don't have access to shell on SSH so I'd like to know if it would work before trying.
In a real exemple of what I want, these domains all share the same phpBB forum: forumpcs.com.br, extremepc.com.br, forumdohardware.com.br.
Do u know if symbolic link would work to share the same wordpress? And how to make wordpress stop redirecting to blog.domainA.com?
View 14 Replies
View Related
May 24, 2009
I have one registered domain on VPS with DNS hosting and would like to host more domains (sites) on that VPS.
As I understood, I don't have to buy DNS hosting for the other domain, so how do I host more domains? It's Windows VPS with Plesk. Can anyone explain in detail?
Do I need to create NS records for my registered domain (ns1.mydomain.com and ns2.mydomain.com) and then point other domain to those nameservers?
View 6 Replies
View Related
Mar 31, 2009
I basically have three registered domains for my three small textiles businesses and use them only for google apps for email.
I am planning to use the domains for creating small websites for both the firms so that my business looks professional to my existing customers. I just want to add a few pictures of my factory and products and a small business profile for each of them.
What I want is a hosting service, which gives me about 100 mb space, very limited bandwidh (because I wont have more than a few dozen visitors every month) and facility for 3 domains. Also it should be easy to use, because I have absolutely no html or any such knowledge and would prefer if I could use a WYSIWYG interface initially.
Also since I wont be using the website to sell products or any other important core-business activity, I dont want to spend too much, maybe just about $2 per month or lesser. I dont care about 99.9% uptime etc. coz I wont be getting too many visitors. I am located in India and most people browsing my site would be from within India.
View 14 Replies
View Related
Feb 1, 2007
We're currently working with a customer to add a .nl domain to our server. However, there seems to be strict guidelines set for the registration of .nl domains. We've tried various zone modifications, but to no avail.
Ran a check on DNSReport just to verify that our settings are fine, and we're only having this problem with .nl domains:
[url]
Wondering if anyone had any experience with dealing with this issue. We basically need this to check out (SIDN is the registrar for .nl domains):
[url]
But when we put the customers domain, and our nameservers, here is the message:
** Summary: REJECTED jumpstyleholland.nl.
Some problems need to be fixed:
- Some of your name servers cannot be used (are broken).
** Full check report:
* primary name server "ns1.jetnethost.com." [BROKEN]
Broken: the name server does not know of domain "jumpstyleholland.nl."
* secondary name server "ns2.jetnethost.com."
Info: name server looks correctly configured.
#### fail
View 7 Replies
View Related
Sep 11, 2007
I've recently set up a dedicated server (CentOS) and was wondering whether it was possible to have multiple domains pointed to the same ip, but not just transfering to it, but the domain name should remain in the address bar, no matter what domain you use.
Example:
when I visit domain.net, I'd like to browse my site, look at a thread and the address is something like: domain.net/forum/showthread.php?f=5, but when I visit seconddomain.org, I should be able to look up the very same thread and get seconddomain.org/forum/showthread.php?f=5 in the address bar.
And if this would be possible, how could I let search engines understand it's the same site & only get indexed once and not get penalised for both site not having original content?
Would I need to setup a nameserver of my own?
I can forward both the domain to either a name server or an ip.
View 4 Replies
View Related
Jul 27, 2007
I signed up for a hosting account somewhere and they include unlimited add-on domains. Does this mean I can add any domain, direct my nameservers there and have as many hosting accounts that I want?
View 5 Replies
View Related
Mar 4, 2009
it says domain is already in system. it seems the previous guy was hosting it on dreamhost.
basically they said I can't host this domain, and that i have to pay extra to have it added.
anyway to circumvent this?
View 8 Replies
View Related
Aug 25, 2008
I have a server with Plesk ask Admin Panel. Now i have used my 100 domains and my hosting company is asking to much money to upgrade.
Is there no way i can add a domain under a domain account like you can on directadmin ?
Or is there some other trick?
View 1 Replies
View Related
Jan 19, 2008
I was looking for a tool that would allow me to enter a Nameserver, and it would then return the Domains that use that Nameserver in its DNS.
I see domaintools.com has a tool that does it, but it costs. Is there a free one available?
View 5 Replies
View Related
Aug 5, 2009
I've been having this problem for a while now. I have a dedicated linix server running with the cpanel. I've setup my own nameservers and for the most part it all runs without a problem. However, every now and then the domains will not resolve for many people.
This may only last a few minutes but it happens regularly. There doesn't seem to be any pattern. The server is still available via IP address. Also, any domain name set as a nameserver with the registrar is not affected by this problem. All other domains are affected. This problem has persisted over many cpanel updates.
I have gone through all the nameserver files (I can think of or have read about) looking for something that may be causing this but everything looks normal.
View 9 Replies
View Related
Jan 4, 2009
My shared hosting is hosting 1527 domains on the same server where my site is hosted , so is this standard for a shared hosting provider?
View 14 Replies
View Related
Jan 25, 2009
Been browsing the site and would value your opinions.
Addon domains are supplied by some webhosts and not others, one of the hosts who does not supply any addon domains puts across a good argument that they can overload a server if they get out of control.
How do others apparently manage these with no problems?
View 4 Replies
View Related
Jan 6, 2009
I have 25-30 domains, mostly directories and WordPress sites, and I can no longer afford my $300/month dedicated server. Can anyone recommend a good service for < $25/month?
I'd like all my domains to be called "domain.com", not "domain.maindomain.com". I'm also aware, however, of the dangers of going with a shared service that offers "unlimited" domains (and hosts thousands of them on each server).
View 14 Replies
View Related
Oct 17, 2009
I have a pretty 'beefy' VPS (Future Host 'Titanium' plan, 1Gb RAM, equal share, 750 Mb bandwidth, 50Gb disk).
I'm using it mostly to host relatively small, low-traffic Wordpress sites. Right now, there are about 40 domains & blogs set up.
The majority see only a few dozen visitors per day. A few have traffic around 100 visitors, and 1 or 2 may get up to 500 per day.
My question is, what might be a comfortable limit on domains/blogs I can host before I should start thinking about adding a 2nd VPS?
View 6 Replies
View Related
Jun 16, 2009
how many domains can be allocated on one server and run correctly without any issues? And what would be the best technical specification for the server?
how many domains can I host on server with 1GB RAM, 2x250GB HDD SATA, 3Ghz CPU?
View 14 Replies
View Related
Feb 26, 2009
Having a reseller account(didn't need it, but was talked into it originally), on the average how many domains should I expect to be hosted on one IP? Right now I show 466 for my IP. This is more for curiosity at this point than anything.
View 14 Replies
View Related
Aug 5, 2008
I have around 20 odd domains which I wish to host. Im not sure how much if anything I will make of them so I wish to keep my costs down to an absolute minimum (yes even Godaddy @ $3 a month is to expensive ).
View 14 Replies
View Related
Jan 15, 2008
Suddenly out of the blue, for no apparent reason at all (no action or config changes on my part) I cannot access two of the few domains on my box, yet they work fine via proxy. I can access another domain of mine on the same box without the need for proxy. This is strange and just happened out of the blue.
Using cpanel / centos 4.6 / apache 2 / php 5.2.5
Apache error logs give no indication. Firewall (CSF) is not blocking me on the server. This is really weird.
I cannot even receive via pop3 but I can send.
View 3 Replies
View Related
Apr 2, 2008
I plan to host 20-40 domains that will include ~20 blogs total and roughly 20 SQL DB's. I anticipate 5-10 GB traffic / month.
With these requirements, can I realistically make use of a shared hosting plan (like HostGator's)? They claim unlimited domains, though I'm not sure how far I can really take this.
Update: shame on me: GB's, not TB's
View 14 Replies
View Related
Sep 10, 2008
No spam etc
cost efficient solution?
View 14 Replies
View Related
Sep 16, 2008
I have a domain which I would like to be used for Displaying ads. I want it similar to those mis-spelled domains which have a number of ads, in them and generate revenue.
Where can I find such hosts who will host the site-page for me and give me the proceeds from the web-page advertising.
View 9 Replies
View Related
Nov 28, 2008
I have a client who can't change the nameservers on his .co.zw domain to my nameservers due to restrictions.
Is it possible to have him forward the domain to his IP and use it that way?
Does anyone have any experience with .co.zw domains?
View 5 Replies
View Related
Oct 20, 2008
is it possible to use two different domains and share one vps? If so, how would I go about configuring it?
View 5 Replies
View Related