Apache And Unkown Domains

Oct 14, 2007

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...

View 7 Replies


ADVERTISEMENT

"Encountered Unkown Setting HASCGI=0"

Feb 3, 2007

my cpanel server lately i notice there a error on it

Quote:

Encountered unkown setting in /var/cpanel/users/User1234 : HASCGI=0

do anyone know how to slove this error, first time seeing it

it happen to notice this error when i try to create an new account

View 7 Replies View Related

Apache :: How To Point Domains To URL

Aug 6, 2013

How can get it work this:

-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/

E.g.:

domain1.com render /
domain2.com render /domains/domain2
domain3.com render /domains/unknowndomain/
domain4.com render /domains/unknowndomain/
domainX.com render /domains/unknowndomain/

View 2 Replies View Related

Apache :: Redirect All Domains To Intranet

Oct 31, 2014

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.

View 1 Replies View Related

Apache Crash When Adding Sub-domains

Jun 2, 2015

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.

View 1 Replies View Related

Apache :: Load Balance Multiple Domains?

Apr 2, 2015

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

<VirtualHost *:80>
DocumentRoot "/var/www/domain.com"
ServerName domain.com
</VirtualHost>

[Code] ....

Any example configuration of the default file.

View 1 Replies View Related

Apache :: How To Keep Google From Indexing Redirect Domains

Jan 19, 2015

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? 

View 5 Replies View Related

Apache :: Setting Up Domains And Subdomains - Virtual Host

May 31, 2014

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.

Domains:

<virtualhost *:80>
ServerAdmin mail@mail.mail
ServerName domain.com
ServerAlias www.domain.com

[Code] ....

Why it works on domains, and not the subdomains?

View 1 Replies View Related

Parked Domains Show Default Apache Page Even Tho They Have DNS Entries

Jun 3, 2008

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.

View 6 Replies View Related

Multiple Domains On A Dedicated Server, Plesk, Users And Apache

Jul 1, 2008

In my old server (VPS) I had my dir structure as:

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.

View 2 Replies View Related

Apache :: Will Editing HTAccess File In Cpanel Effect All Wordpress Domains And Subdomains

Mar 26, 2014

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?

View 4 Replies View Related

Parked Domains Over Addon Domains

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

How To Add Domains To VPS

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

Under 100 Mb For 3 Domains

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

.nl Domains

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

2 Domains For 1 Ip

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

Add-on Domains

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

Wth Dreamhost Will Not Let Me Add Domains

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

Plesk Domains

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

Which Domains Used By Which Nameservers?

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

DNS :: Domains Will Not Resolve

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

# Of Domains Per Server

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

Addon Domains

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

Hosting For 25-30 Domains

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

How Many Domains/websites On A VPS

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

How Many Domains Can Run On One Server

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

Average Domains Per IP

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

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 View Related

Web Hosting For 20+ Domains

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







Copyrights 2005-15 www.BigResource.com, All rights reserved