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.
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).
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)
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?
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?
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?
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?
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.
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."
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.
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?
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?
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.
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?
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).
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?
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.
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 ).
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 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.
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.