What's apache behavior when asked for an unknown domain?
What happens if my browser sends a HTTP request for a domain ("host") that my apache server doesn't have?
Does apache send an error back? Maybe Error 401 Forbidden?
Actually it might depend on how apache is configured...
But what's apache behavior on default config when asked for an unkown domain name?
And how can I configure it to reply with a certain web page regardless of whether it has the requested domain or not?
I've setup my lan bind server to translate any NXD (non existent domain) as my internal web server IP. And now I need to setup this web server to reply even when it doesn't know the requested domain...
-Part 1- I have a website with a doman point it (as usual) when you go to domain1.com this show you /
I need point a second domain to /domains/domain2/ using alias (the url show domain2.com but if I go to domain1.com/domains/domain2/ this render the same content)
-Part 2- Now I need point any other domains request this server or this ip to /domains/unknowndomain/ then if you go to domain3.com or domainX.com show this domain in the url bar but render domain1.com/domains/unknowndomain/
I have lan computer running apache2. It doesn't have access to the internet. Is there a way to redirect all website requests to the website located /var/www/ ? So if a user is on the network and trys to goto www.google.com it will redirect them to /var/www/index.html.
We have an ongoing problem with Plesk on 1and1 dedicated servers.We host around 80 websites, all of which are very light and have relatively low traffic. When we get to setting up around the 70th website and create a new sub-domain, Apache crashes with the error:
Template_Exception: Can not restart web server: file: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php line: 104 code: 0
We then run "bootstrapper.sh repair" to get Apache back online. But can't create any new sub domains, without the same issue occuring. With each server, 1and1 raise a ticket with Parallels, who log in and fix the issue. But then Following the Parallels fix, the server runs slowly, sometime throwing up 502 errors etc, which nobody is able to fix, and again, we have to move servers.We have just hit exactly the same issue on our 3rd and final 1and1 server.
I am completely new to apache and I had the load balancer set up for a single domain that was working perfectly fine, but when it came to multiple domains i couldn't, for the life of me, figure out what to do.
There is example.com sub.example.com and otherexample.com
I had a single node set up for this but I want to experiment with the balancer. I have scratched Google and I only found broken info which couldn't explain much to me. Here are my domains
I have five domains redirecting to my main site. I originally setup these redirect domains because many people in my target demographic are not very computer literate, and I worried they would mis-spell or mis-type the site name. I want to do what Google does with gogle.com and their other domains.
exampledomains.com <-- Main Site exampledomains.net exampledomains.org exampledomain.com exampledomain.net exampledomain.org
Now I'm seeing that Google is indexing about 3000 results for each redirect domain, and I'm worried it's going to hurt my SEO.
My host setup the domains with the same IP as my main site, then put non-masking redirects in the .htaccess. The sites do not have their own accounts on the server, so I can't setup a separate htaccess or robots.txt as their presently configured. How should I set this up?
I am trying to set up domains and subdomains, on my webserver, however the domains are resolving, but when accessing a subdomain I get a 500 internal server error, permissions on files are the same on both domain and sub domain level.
My virtual host files looks like this for domains and for the subdomains, and I am using Apache 2.4.7, on an ubuntu 14.04 running on a rackspace cloud server.
I have domains parked on a subdomain. Since i updated the apache configuration with cPanel the parked domains just show the default apache configuration. The domain shows up under parked domains. I can delete the domain and readd then it works. However, that isn't a good option cause there are 100+ domains.
sitea.com was pointing to /home/me/public_html/sitea
siteb.com was pointing to /home/me/public_html/siteb
On my new server, I have root permissions and used Plesk to create two domains sitea.com and siteb.com . Now plesk asks for a user to be created for each domain, so created usera and userb for sitea and siteb respectively.
Now as root on my server I created the dir /home/me/ and untarred the whole backup from old server to new server and I have dirs :
/home/me/public_html/sitea and /home/me/public_html/siteb
In apache configuration in file: httpd.include_sitea under dir /var/www/vhosts/sitea.com/conf/httpd.include
I changed the document root to /home/me/public_html/sitea
So I thought I am all set. But it does not work. When I try sitea.com in the browser it works but for all subdirs, for eg sitea.com/images it says Access denied.
This is because the dirs I created are owned by root.
So the owner of /home/me/public_html/sitea needs to be usera for this to work ?
Again for siteb to work I need to change the owner of /home/me/public_html/siteb to userb ?
This will be painful ? At least I should be able to change the owner of /home/me/public_html/ to one owner and ensure all sites under that work fine. How do I do that ?
I think the problem is clear by now. Its that I want all my sites to work off from .../public_html/ sub dirs.
I added the following to my cpanel .htaccess file on my hosting account:
<FilesMatch ".pdf$">header set x-robots-tag: noindex </FilesMatch>
This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?
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.
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 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 ).