Apache :: Gateway Setup - Point To Different Webservers Depending On Domain Name

Jul 17, 2014

I am looking for setup a gateway (reverse proxy I guess?), specifically how to configure Apache to point to different webservers depending on domain name.

I currently have a single webserver running multiple virtual domains all accessible via a single external IP address.

I would like to break this into 2 servers each running multiple virtual domains accessible via gateway with a singe external IP address.

As an example, a single internet IP address points to port 80 on the gateway machine. The gateway machine will determine if its example1.com, example2.com, example3.com or example4.com. If its example1.com or example2.com it will direct internally to webserver1 and if its example3.com or example4.com it will direct internally to webserver2.

Webserver1 and webserver2 each host different websites via virtual hosts.

Is this possible and if so, what is the correct configuration of the gateway machine. I currently have installed apache2 with mod_proxy enabled, but I am struggling with configuring it properly.

View 1 Replies


ADVERTISEMENT

Sub-domain Point To A Specific Ip

May 18, 2007

I have a few website's and a whm account.

I also have a few things at home that I would like to access every now and then.

I was wondering if it would be possible to setup a subdomain to point at my ip adress at home?

like if I give the home.domain.com , all traffic would be directed to my home, but domain.com would remain the hosted website?

If it is possible, how do I do it?

View 4 Replies View Related

Subdomain Point To Another IP/domain

Nov 21, 2007

I would like to create a domain which will point to another website/IP.

Something like this:
DomainA.com has subdomain1.DomainA.Com
and subdomain1.DomainA.com point to DomainB.com

So that a file DomainB.com/abc.html
Can be access via subdomain1.DomainA.Com/abc.html

View 13 Replies View Related

Point Domain To A Different Server

Feb 7, 2007

We are trying to implement a reseller model shopping website for our resellers. The customized shopping website for the reseller will be hosted on our website, say: abc.xyz.com

We want our resellers to load abc.xyz.com from their own sub domain itself, like: shopping.abc.com

I know that this can be done using a URL redirection, but is there any way that shopping.abc.com will load the contents from abc.xyz.com and still keep the URL unchanged in the address bar ? I'm not referring to URL masking using iframes and note that xyz.com and abc.com are on different servers. Does anyone know whether this is technically feasible?

View 2 Replies View Related

Point A Sub Domain To A Different Server

Sep 10, 2007

i have a reseller plan with ahost.com for my paid hosting, I want to setup a account with cheaphost.com for free accounts.

My main domain is mydomain.com and i want this to point to the reseller account on ahost.com, i want the free site to be free.mydomain.com and point to the reseller account on cheaphost.com

Is this possible? If so.. how would i go about setting this up? My domain registrar is godaddy.com

View 5 Replies View Related

Plesk 12.x / Linux :: Nginx - 502 Bad Gateway With Every Domain Change

Mar 12, 2015

Since we switched to Plesk 12 and activated nginx the problem reoccurs reliably on every domain change.
As soon as a customer creates a new domain or alias and Apache restarts nginx delivers 502 errors for maybe 10 seconds. After that everything is fine again.

The system is Debian 6.0.10 with Plesk 12.0.18 Update #38

That might not be a problem in small environments, but with >100 domains the timeout is annoying enough for customers to pick up the phone.

Adding this to /etc/sw-cp-server/config did not do the trick.

http {
fastcgi_buffers 32 32k;
fastcgi_buffer_size 64k;
fastcgi_read_timeout 600;
fastcgi_send_timeout 600;
}

View 3 Replies View Related

Unable To Point Domain Name To Server

Dec 17, 2008

I bought a new domain name today from godaddy. I'm having problems with my host. There saying that there is something wrong with my .htaccess file and I dont know what to do. My host looked over my server and said there is nothing wrong with it at all. Well, obviously there is because im getting a [url] Internal 500 server error.

View 5 Replies View Related

How To Point 2 Domain Names To Same Hosting Account

Apr 4, 2009

I know this question has been asked before but I tried the solutions I could find on net but not total success.

So, I have a shared hosting a/c with a domain(say www.xyz.com) pointing to it ..

Now I want a second domain (www.secondsite.com) to point to www.xyz.com/secondsitefolder

There was this article that says to use 'ZoneEdit' [url]how-to-...ting-aaccount/

And it works but the problem is when someone types www.secondsite.com in the browser, the browser url changes to www.xyz.com/secondsitefolder

Is there someway to stop tht browser url change or what's the correct way to have 2 domain names point to one shared hosting a/c.

View 6 Replies View Related

Point My Domain Because I Just Purchased A Dedicated Server

Mar 3, 2008

i have a domain on ipower.com and my hosting company wont give me a dns i only have 5 IP's how can i point my domain to my new dedicated server i just purchased a dedicated server and im new with it.

View 12 Replies View Related

New Domain Name, How To Point It To My Server 2003 System

Nov 17, 2008

I have always been using a no-ips service for a domain name. It was really easy with the dynamic update client because I have a dynamic ip.

I have just registered a domain and would like to point that to my server also. My registrar says it is currently parked, there doesn't seem to be an option to unpark it anywhere. I have also changed the nameserver to my no-ip domain name.
Nothing is happening.

I have also googled dns.. If I want to point my domain directly to my server do I need to go and install Active Directory and then dns or can I just install DNS, do I even need to do this??

Seems like a lot of hassle tbh, this is really frustrating me because i'm pretty tech savvy but am completely lost here..

View 2 Replies View Related

Plesk 12.x / Linux :: Cannot Point Domain To New Directory

Jul 6, 2014

When I am setting new directory for domain, the domain is served from old directory.

1. New directory has exactly the same file permissions as old one.
2. Restarting httpd service doesn't work
3. I am using Plesk 12

View 2 Replies View Related

Setting Up Domain To Point And Mask To The Hosting Service

Apr 10, 2008

I have a domain name from godaddy and recently got a host plan in hostgator.

As this is the first time I use hosting, it is very confusing how to set it up properly.
So far what I figured out and was able to set is the DNS in godaddy and the add-on domain in hostgator.

So now I was able to point 'MyDomain' to direct to 'hostgatorDomain/MyFolder/' (names just for example).

The problem is that masking is not turned on and who ever clicks 'MyDomain' will get to the right location, but the address will change to 'hostgatorDomain/MyFolder/'.

How to do the set up so the URL will not change?

View 14 Replies View Related

How To Redirect Visitors To A Subpage Depending On The Url They Entered

Nov 5, 2007

My client has just purchased hosting (not through my hosting company but one they wanted to use) for their main domain but they also have a number of more specific domains that need to be pointed to a specific page in the website. The trouble is that for these additional the new host say they can only point to the main domain (IP address) at DNS level and not to a specific page.

Any idea how to go about this (apart from using another host!)? Can I use a script that can tell what url they have typed into their browser and forward them to the correct page? I want to avoid the need for a hosting package for each domain just for a simple redirect page!

View 7 Replies View Related

Apache :: Randomly Receive 502 Bad Gateway Error (2.4.4)

Jul 23, 2013

I am currently running apache 2.4.4 with Tomcat and randomly i receive the following error when i try to hit the external URL:

Bad Gateway
The proxy server received an invalid response from an upstream server

====================================================
Inside apachie error.log file., i also see the following error, i am not sure if they are related:

"The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed."

=====================================================

Here is my httpd.conf file: .....

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

Plesk 11.x / Linux :: Access To CPanel - 502 Bad Gateway Error Nginx On Multiple Domain

Feb 18, 2015

Our server : [URL] .....
plesk v11 (64BITS)

PROBLEM DESCRIPTION

We found 502 Bad Gateway error Nginx on multiple domain "currently troissoeursetunfrere.com is a wordpress site e-commerce" and also malittleboutique.com ecommerce wordpress, possibly to fix this problem we have followed this tutorial " [URL] ....

we perform the following operations:

sudo apt-get remove php5 php5-cgi php5-fpm
sudo apt-get install php5 php5-cgi php5-fpm

Following these operations we lost access to cpanel.

View 3 Replies View Related

Can I Point MX Record For Third-party Domain To Yahoo Small Biz Mail?

Jul 16, 2009

My client has a domain registered at GoDaddy and a Yahoo Small Business email package.

The only info I can find on Yahoo suggests I need to redelegate the domain's name servers to Yahoo, and I'd rather not do this if I can help it.

Is it possible to simply leave the name servers at GoDaddy and point the MX record to Yahoo's servers?

I don't see anything on Yahoo saying it won't work, but then I see nothing to suggest it will either!

View 2 Replies View Related

SLOW Connection: 2 Webservers Using A Single Database Server

Jul 24, 2007

I am developing an application on a load balanced network.

It is configured as follows:

Webserver1, Webserver 2 (Fedora 5 - Linux, Apache, Zend Opt, PHP)

and a DataBase Server (MySQL)

When the webserver attempt to use the Database server the connections and page output are REALLY slow!

The database server is within the webservers local intranet - so I thought it would be a lot faster.

----------

Here is a quick test: : :

Testing Database Connection on localhost
Connecting to Database... 0.00054502487182617 seconds
SELECT * FROM users... 0.00076389312744141 seconds

Testing Database Connection on '192.168.1.200'
Connecting to Database... 19.998768091202 seconds
SELECT * FROM users... 0.0021719932556152 seconds

20 seconds to connect to the database server...

View 3 Replies View Related

Apache :: WSDL Resolving To End Point - Loadbalancer IP

Jun 26, 2013

We are hosting a webservice application behind a Loadbalancer and the webservice is accessed via a ReverseProxy.However when we try to access the WSDL we see the endpoint loadbalancer IP coming in the response instead of the reverse proxy url.

The httpd.conf has the below entries -

ProxyPass /abc http://IP1:Port1/abc
ProxyPassReverse /abc http://IP1:Port1/abc

Our application [URL] ....

So when we hit the above url to access the WSDL it give us the WSDL return

<wsdl:service name="abc">
<wsdl:port binding="impl:abc" name="abc">
<wsdlsoap:address location="http://IP1:Port1/abc"/>
</wsdl:port>
</wsdl:service>

This exposes our backend IP address and Port. The desired return is

<wsdl:service name="abc">
<wsdl:port binding="impl:abc" name="abc">
<wsdlsoap:addresslocation="http://abconline.com/abc"/>
</wsdl:port>
</wsdl:service>

View 4 Replies View Related

How To Point Domain.com To Domain.net

Jun 26, 2007

have a such problem./

my customer have site domain.net, which is hosted on another host.

now he bought domain.com and ask me, to setup this domain and point to domain.net.

i'm on cpanel/whm.

i ask customer on registrar page setup my nameservers, and trying to do edin dns zone..:

as i know, i must do
Quote:
domain.com. A 62.118.***.***

or

domain.com. A domain.net.

or
domain.com. CNAME domain.net.

but unfortunately get an error: Server not found

can u advice, what i'm doing wrong?

btw. domain is immo.am which i'm going to point to immo.ru

P.s.
1. i know, that it's possible to do via registrar, but unfortunately their registrar don't allow this

2. i suggest to do it via 301 redirect, but customer don't like it. just need to view ip of his main domain [immo.ru]

View 3 Replies View Related

While Setup DNS For 1 Domain.de

Jan 28, 2008

One of our customers need to use a domain.de (.de ext), he registered the domain using godaddy, and godaddy have a few very special requirements for .de domains:

• The first 3 bits of the IP address (C-class) is different for each name server.
• A glue record is necessary for the domain on the name servers.
• The SOA (Start of Authority) must be within the following guidelines:

refresh : 10000 - 86400
retry: 1800 -28800
expire: 604800 - 3600000
ttl: 180 - 345600

This is all done, 2 different C class IPs for each name servers, glue record, and SOA has been configured between specified values. Because of the 2 C class, we created DNS at server1, and pointed all www traffic to server2 (where the domain.de will be hosted)

This is the DNS zone at server1 (an Ensim server):

$ORIGIN .
$TTL 3600 ; 1 hour
sitename.de IN SOA nameserver1.server.com. support@hostingcompany.com. (
2008010804 ; serial
10000 ; refresh (1 hour)
1800 ; retry (10 minutes)
604800 ; expire (2 weeks)
345600 ; minimum (1 hour)
)
NS nameserver1.server.com.
NS nameserver2.server2.com.
$TTL 86400 ; 1 day
A XX.XX.XX.XX
$ORIGIN sitename.de.
ftp A XX.XX.XX.XX
www A XX.XX.XX.XX

This is the DNS zone at server2 (an cPanel server):

; Modified by Web Host Manager
; Zone File for sitename.de
$TTL 3600
@ 86400 IN SOA nameserver2.server2.com. support@hostingcompany.com. (
2008010804
10000
1800
604800
345600
)

sitename.de. 86400 IN NS nameserver2.server2.com.
sitename.de. 86400 IN NS nameserver3.server2.com.

sitename.de. 14400 IN A XX.XX.XX.XX

localhost.sitename.de. 14400 IN A 127.0.0.1

sitename.de. 14400 IN MX 0 sitename.de.

mail 14400 IN CNAME sitename.de.
www 14400 IN A sitename.de.
ftp 14400 IN A XX.XX.XX.XX
While checking the domain at [url], an error appears:

Zone sitename.de.
Primary nameserver1.server.com. IP_ADDRESS_HERE
Secondary nameserver2.server2.com. IP_ADDRESS_HERE

Test results

---- fatal ----
f: [TEST SOA record present]: server failure (IN/SOA: sitename.de.)

* nameserver2.server.com./IP_ADDRESS_HERE

I have verified every single thing at sitename.de.db on both servers at /var/named/, disabled DNS Recursion protection, stopped firewall, and the error continues.

And the error as you can see only happens with SOA at second server.

View 1 Replies View Related

How To Setup Domain

Jun 5, 2007

i have dedicated server [ Debian/linux/ ], where isn't installed any control panel.

i'm using this server for my primary domain, but now decide to move to this server on of my domains too.

unfortunately, before this i "add domains" only via control panel, but as i know i can do it via SSH too (w/o any control panel).

can u give me any advice or give me url of tutorial with guide how to do it step by step.

i have experience of work via SSH, so knowing how to do, i'm sure i can do it myself.

View 1 Replies View Related

How To Setup Domain Via SSH

Jun 5, 2007

i have dedicated server [ Debian/linux/ ], where isn't installed any control panel.

i'm using this server for my primary domain, but now decide to move to this server on of my domains too.

unfortunately, before this i "add domains" only via control panel, but as i know i can do it via SSH too (w/o any control panel).

can u give me any advice or give me url of tutorial with guide how to do it step by step.

i have experience of work via SSH, so knowing how to do, i'm sure i can do it myself.

View 1 Replies View Related

How To Setup DNS For 2 Servers With One Domain Name

Apr 8, 2008

I have 2 servers. How do I setup the DSN for these 2 servers with my domain? For example, I have domain "mydomain.com" and server1 and server2. I want
ns1.mydomain.com, ns2.mydomain.com --> server1
ns3.mydomain.com, ns4.mydomain.com --> server2

Both server installed cPanel/WHM.

View 3 Replies View Related

VPS Account With Multiple Domain Setup

Apr 11, 2008

I have a VPS account with WHM/Cpanel console access. I have three domains that I am trying to setup. Within WHM I have setup three different accounts, one for each domain. I am able to login to the cPanel for all three accounts. This also created a new web directory for each domain in /home/domain_name/public_html/. I have placed my default index.php in all three public_html with the same permissions. But only 1 domain is working the other two are not. What am I missing? I have confirmed that all three have the correct DNS servers with godaddy and I can do an nslookup on all three. My provider told me to share the IP so that is what I am configured as..

View 2 Replies View Related

How To Setup 2 Email Server For 1 Domain

Nov 9, 2007

if there is any tutorial to setup 2 email servers serving just 1 domain?

Currently, i have 1 dedicate email server running centos with DirectAdmin, it works just fine.

View 7 Replies View Related

EveryDns Setup Secondary Domain Name Server (DNS)

Jun 15, 2005

I have signup with everydns. I have read faq for secondary DNS but not understand.

View 1 Replies View Related

Domain Name Server (DNS) Cluster Setup In Cpanel

Jul 7, 2009

Hi there, i have few question for the best suited DNS Setup for our compagny.

We have tree server located in montreal.
Two are running web services, one of them is only for dns ( home server ).

Two main server have Whm/Cpanel.
One run Cpanel Dns only.

Main server have 7 ips each
Dns server, only have 1

Let say we use domain xxx.com
Right now we have ns1/ns2/ns3/ns4 point to server1
ns5/ns6/ns7 point to server2

We have no Nameserver that point to our dns only server for now.
I'd like to advoid runing DNS Service on all of them, maybe having two slave one master would be fine. Question: What would be the best suited dns setup with my current config for best responding time and fast replication?

View 0 Replies View Related

Nameservers In VPS - Domain In Godaddy - Backup - How To Setup?

Aug 2, 2009

I just got a VPS plan for the first time where I want to host several new websites. In the past I've used individual accounts to host a couple of other websites and haven't paid much attention to nameserver setup, just configured at my registrar whatever I was given from the hosting service.

So, I got a brand new domain to act as the host of the rest of the domains I'm setting up: www.example.com.

In the VPS I have setup this one as the default domain for nameservers: ns1.example.com
ns2.example.com

Question 1:
- Can I setup ns1.example.com and ns2.example.com as the nameserververs for www.example.com ? i.e. nameserver is used for the same domain in which it is named. Even if this is possible, is it a good idea or would it be better to host it somewhere else? When I try to define those as the nameservers in Godaddy I get the error message Nameserver not registered. What am I missing?

Other DNS questions
Question 2:
- If I host my nameservers in my VPS, I will need a separate IP for each one (ns1, ns2...and so on). Can I still use those IP's to actually host websites, or do I need additional IP's to host the actual sites? Any value in keeping each IP dedicated to a nameserver?

For example:
IP#1 = used for ns1
IP#2 = used for ns2
IP#1 = used for website 1
IP#2 = used for website 2


Question 3:
- Are DNS backup services valuable if I host my own nameservers? Any suggestions on good quality providers? Price not an issue.

Question 4:
- If I used DNS backup services for example.com will that apply to ns1.example.com and ns2.example.com which I used for my VPS? and therefore will be applicable to other domains I host? Does this make sense? Or would I need a separate backup for each domain I host? Can I use one backup for multiple domains?

Question 5:
- What are the drawbacks of hosting multiple sites under the same IP? I control all sites under these IPs

Question 6:
- Can somebody recommend a good resource to learn how IP, DNS, nameservers, etc work? Any book, paid website, video... anything ? While there's a ton of info on the web, all is scattered and none seems to be too detailed enough for somebody starting to learn about this.

View 5 Replies View Related

Google Apps Domain Email Setup

Oct 28, 2009

I would like some help on setting up google apps emails on a PLESK hosting on 1and1.com.

Here is my MX server setup, and doesn't seem too work. I set it up before but i didn't save it and now I forgot how to do it again.

where the error is?

View 3 Replies View Related







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