Setting Up NameServer Redirection
Apr 5, 2007
I'm a reseller with a few seperate servers. Thus, trying to set up a 2ndry set of NS records. Setup as follow:
main-domain.com : Hosting domain
main-server.com : Main Reseller server, hosting main-domain.com
2nd-server.com : Another reseller server
hosted-domain.com : A domain hosted on my 2nd-server.com
1. Main domain DNS, pointing to main-server.com (On NS.main-server.com).
2. On main server, NS1 & NS2.main-domain.com pointing to NS.main-server.com)
3. On main server, set up 2ndry NS - NS3 & NS4.main-domain.com as CNAME pointing to 2nd-server.com (NS1 & NS2.2nd-server.com)
4. hosted-domain DNS pointing to NS3 & NS4.main-domain.com
Problem is, NS3 & NS4 are working - But when i try looking up hosted-domain.com i get a 404 error.
What am i doing wrong?
View 0 Replies
ADVERTISEMENT
Oct 24, 2007
I have a quick question about some DNS zones I'm trying to set up for a customer. I figured I would try asking the community before bugging our top-level admins (they have enough to do already, and I'd rather learn this myself).
We have a customer for whom we are managing their DNS. The site is actually hosted elsewhere, but the DNS originates on our server.
They have another site that is hosted with us, and they would like to set up a subdomain redirect from the remotely-hosted site to the site hosted on our hardware. So, the situation looks something like this:
example.com : hosted elsewhere (primary IP not ours), DNS with us
FooSite.example.com : redirect this to www.FooSite.com
I could edit httpd.conf, but it would be easiest (for firewall reasons at the moment) if I could enter in the proper zones via WHM zone editor. I'll be able to see the results either way. I tried setting up the 'A' and 'CNAME' records, and I got as far as directing the 'A' records for the subdomain to the local IP, but I'm not sure how to finish it off (assuming I'm going down the right path). My own knowledge level in this regard is somewhere between novice and intermediate (which is why I have partners and admins ).
View 10 Replies
View Related
Apr 7, 2008
I have 1 dedicated where is domain.com + ns1.domain.com + ns2.domain.com
ns1 and ns2 is setting on namecheap and on WHM
Now must set 6 new server and set nameserver from ns3 to ns14.domain.com and hostname from s1 to s6.domain.com
It's right to set this only under domain.com dns as
s1 14400 IN a IP_NEW_SERVER
ns3 14400 IN a IP_NEW_SERVER
ns4 14400 IN a IP_NEW_SERVER
..
OR we must also add
domain.com 14400 IN NS ns3.domain.com.
domain.com 14400 IN NS ns4.domain.com.
..
OR/AND is better to setting this also into namecheap "nameserver registration"?
View 7 Replies
View Related
Mar 7, 2008
I just got a dedicated box and I am making reseller accounts.
How can I set it up where it is set to ns1.theirdomain.com instead of ns1.mydomain.com
View 4 Replies
View Related
Apr 4, 2008
1) I use DNSMadeEasy for a couple of my important domains so I can utilize their failover service.
2) I use my own nameservers for everyone else.
At my register (GoDaddy) I've added host entries to my domain (let's call it host.com) for ALL of my nameservers: DNSMadeEasy and mine. For example here are my host entries:
1) nsdme0.host.com = 55.55.55.55 (DNSMadeEasy)
2) nsdme1.host.com = 56.55.55.55 (DNSMadeEasy)
3) nsdme2.host.com = 57.55.55.55 (DNSMadeEasy)
4) nsdme3.host.com = 58.55.55.55 (DNSMadeEasy)
5) nsdme4.host.com = 59.55.55.55 (DNSMadeEasy)
6) ns1.host.com = 60.55.55.55 (mine)
7) ns2.host.com = 61.55.55.55 (mine)
At the register I've then configured host.com to use the first five nameservers for itself, the DNSMadeEasy nameservers.
For less critical sites that I host I simply point them to ns1.host.com and ns2.host.com, my nameservers.
Now, here's the twist. If I use dig to look up www.host.com I get:
[root@lax1 ~]# dig +trace www.host.com
; <<>> DiG 9.3.3rc2 <<>> +trace www.host.com
;; global options: printcmd
. 220048 IN NS D.ROOT-SERVERS.NET.
...........................................
. 220048 IN NS K.ROOT-SERVERS.NET.
;; Received 228 bytes from 66.63.160.2#53(66.63.160.2) in 1 ms
net. 172800 IN NS J.GTLD-SERVERS.net.
...........................................
net. 172800 IN NS G.GTLD-SERVERS.net.
;; Received 497 bytes from 128.8.10.90#53(D.ROOT-SERVERS.NET) in 74 ms
host.com. 172800 IN NS nsdme0.host.com.
host.com. 172800 IN NS nsdme1.host.com.
host.com. 172800 IN NS nsdme2.host.com.
host.com. 172800 IN NS nsdme3.host.com.
host.com. 172800 IN NS nsdme4.host.com.
;; Received 225 bytes from 192.48.79.30#53(J.GTLD-SERVERS.net) in 125 ms
www.host.com. 1800 IN CNAME host.com.
host.com. 75 IN A 60.55.55.55
host.com. 86400 IN NS nsdme2.host.com.
host.com. 86400 IN NS nsdme1.host.com.
host.com. 86400 IN NS nsdme5.host.com.
host.com. 86400 IN NS nsdme0.host.com.
host.com. 86400 IN NS nsdme4.host.com.
host.com. 86400 IN NS nsdme3.host.com.
;; Received 276 bytes from 123.123.123.123#53(nsdme0.host.com) in 68 ms
BUT, if I lookup the nameserver (ns1.host.com) I get:
Code:
[root@lax1 ~]# dig +trace ns1.host.com
; <<>> DiG 9.3.3rc2 <<>> +trace ns1.host.com
;; global options: printcmd
. 218964 IN NS M.ROOT-SERVERS.NET.
...........................................
. 218964 IN NS K.ROOT-SERVERS.NET.
;; Received 228 bytes from 66.63.160.2#53(66.63.160.2) in 1 ms
net. 172800 IN NS H.GTLD-SERVERS.net.
...........................................
net. 172800 IN NS G.GTLD-SERVERS.net.
;; Received 497 bytes from 202.12.27.33#53(M.ROOT-SERVERS.NET) in 115 ms
ns1.host.com. 172800 IN A 60.55.55.55
host.com. 172800 IN NS nsdme0.host.com.
host.com. 172800 IN NS nsdme1.host.com.
host.com. 172800 IN NS nsdme2.host.com.
host.com. 172800 IN NS nsdme3.host.com.
host.com. 172800 IN NS nsdme4.host.com.
;; Received 241 bytes from 192.54.112.30#53(H.GTLD-SERVERS.net) in 151 ms
What I've realized is that the actual IP addresses for nameserver host entries come from a higher level server than my own, in this case H.GTLD-SERVERS.net. I guess this makes sense but I just hadn't realized it before. It looks like I don't even need to have record entries in my DNS records for the host nameservers.
Now for the question. Can I:
1) Remove my custom host nameserver entries from my register.
2) Add entries in my DNSMadeEasy records to specify the location of ns1.host.com and ns2.host.com.
3) Use the failover provided by DNSMadeEasy to also fail-over my DNS entries for my nameservers?
I know this would require one more hop if it works but it would allow me to provide failover ability to fifty domains without having to purchase the extra domains at DNSMadeEasy.
View 2 Replies
View Related
May 28, 2008
Just a quick question, can i setup a cname to redirect user to a URL instead of domain.... like
mail.thedomain.com.incnamemail.google.com/a/thedomain.com
I have to do this on Windows server with IIS so i can't use mod_rewrite etc!
View 4 Replies
View Related
May 6, 2008
i just got code for .htaccess to redirect mydomain.com to a directory on the same domain here directory123 is that name of directory where i wanna redirect my domain but problem is that when i put complete url like
www.mydomain.com then it will successfull redirect to www.mydomain.com/direcotry123
But when i put address like mydomain.com without www then it will not redirect kindly check and let me know the correction to redirect it as well
Code:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mydomain.com
AuthUserFile /home/username/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/username/public_html/_vti_pvt/service.grp
#RedirectMatch permanent ^/$ [url]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.mydomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.mydomain.com$ [NC]
RewriteRule .* http://www.mydomain.com/directory123
View 1 Replies
View Related
Dec 8, 2007
My company provides free websites using an automated website builder we designed years ago. We also offer a option where members can add a domain name to their site. Because all our members pages are generated dynamically by the web builder script, when member adds the domain name option we simply add a DNS entry that includes an A record that directs the domain name to the IP address of the account on the server where the web builder is installed. All domains point to the same script and that script looks the domain up in a database table and gets the web page data for that website.
membersite1.com = /home/webbuilder/public_html/index.php
membersite2.com = /home/webbuilder/public_html/index.php
We are about to launch a new website builder that is not database-driven but includes a sub-directory for each member site. So, I need to find a way to redirect each member's domain to their sub-directory
membersite1.com = /home/webbuilder/public_html/member/m/membersite1
membersite2.com = /home/webbuilder/public_html/member/m/membersite2
I thought I could do with mod_rewrite in a .htaccess file in /home/webbuilder/public_html:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^membersite1.com [NC]
RewriteRule ^/(.*) ^/member/m/membersite1/$1 [L]
But it's not working. The .htaccess file has no impact at all.
.htaccess fle working? Or is there another, better way to point a domain name to a sub-directory?
View 0 Replies
View Related
Mar 30, 2007
Although I'm able to redirect my subdomain to the /htdocs/subdomain directory using a php script, but the URL changes from [url]to [url]
And since I'm on windows, htaccess doesn't seem to work for me. Tried adding VirtualHost thingy into httpd.conf but then Apache doesn't start with it.
Is there any way to redirect [url]to /htdocs/subdir without changing the URL?
View 11 Replies
View Related
Jun 12, 2008
when our customers enter the domain name in this format: http://www.domain.com:8443 the page will be redirect to https://our-datacenter-default-hostname:8443.
but if they enter httpS://www.domain.com:8443 , the page don't redirect to anywhere and every things is ok.
How can I change the URL that users redirect to when they don't enter "https" in addressbar?
View 6 Replies
View Related
Jul 8, 2009
I have two servers with two different ip address in two different physical location.
eg
server A - 202.44.33.1 - domain.com
server B - 192.33.55.3 - abc.domain.com
what i would like to do is redirect people coming to abc.domain.com to ip address 192.33.55.3 instead of the conventional 202.44.33.1/abc/
can this be done ? If so how ? I know it can be done but i am not sure how or what the technical term for such a service would be ? and the actual steps involved in creating a redirection like this.
View 5 Replies
View Related
Apr 30, 2008
explain our setup.
We have an in house centOS linux developer box running apache 2.x
We have our own on-site router/switch setup etc.
We host our external website whatever.com with Networksolutions
On our whatever.com DNS (via network solutions). We have our domain subscriber.whatever.com pointing to our external IP address. subscriber.whatever.com -> xx.xx.xx.xx
In our router configuration we have subscriber.whatever.com forwarding to our CentOS linux development box. it's forwarding to the internal network IP address 10.xx.xx.xx
However we want the box to redirect someone when they come in on subscriber.whatever.com... We basically want it to redirect them to subscriber.whatever.com:port/folder/
Preferably masked so that all someone would see is subscriber.whatever.com but they're actually at subscriber.whatever.com:port/folder/
Unfortunately network solutions's setup won't allow us to easily do this so we have to do it somehow locally.
Anyone have any suggestions? I've got this working on the box itself (if you goto the site on the box via gnome) however externally or on another system on our internal network it's a no go.
View 1 Replies
View Related
Jun 25, 2008
We have a website hosted with 1and1 Internet and want to keep it like that with its current domain name www.companyname.com
However we have registered a new domain name with 123-Reg, which is company.uk.com, because 1and1 Internet dont allow you to register .uk.com domains
We want to switch to using the .uk.com domain as the main domain but keep the website with 1and1.
Is there a search engine friendly and invisible way of using the uk.com domain by somehow redirecting visitors, without the domain name switching visibly in the browser?
View 6 Replies
View Related
Feb 9, 2008
if you type in the browser
Code:
neomagician.com
it redirects to
Code:
[url]
ok no problem there. but when you type
Code:
neomagician.com/forum
OR
[url]
it redirects to the hostname
Code:
[url]
where you promptly receive a 404 error.
BUT, if you type
Code:
[url]
(note the forward slash on the end)
it works just fine.
If you type a nonexistent file or folder it only 404s on the domain name and no redirection occurs.
View 8 Replies
View Related
Aug 8, 2008
I am having an issue with one of our sites sitting behind an alteon load balancer. Basically, when people try to checkout from a store it redirects to https. Well, this gets stuck in a loop and never responds. If you go to https directly it works fine till you try and check out.
Flow is like this 443->loadbalancer->81 apache web server.
Anyway, I think it has something to do with the session getting lost. I've read some on proxying but I am not sure how to get it working.
View 1 Replies
View Related
Aug 20, 2008
My site prime357 . org is being unexpectedly, from time to time, re-directed to my host's site DrupalValueHosting.com.
It has now been a few weeks and this problem still remains. I have not set up any purpose re-direction to my host site. My .htaccess file has no reference to my host site.
My host, the other day, suggested that I change my site, temporarily, to prime357.net, whilst he (the host) works on the problem as to why prime357.org is directing to the host site.
Re-direction to my host site is still occurring.
I established that a few hours ago that someone did a whois on prime357 . org hours earlier and the IP resolved to 67.228.128.242 (which is my host's site). I did the same lookup and the IP resolved to 67.228.230.119 (which seemingly, is correct, is my site).
This problem is an intermittent problem and is happening to other customers of DVH.
I can't physically check or make adjustments (at least I think I can't). What solutions or what process would one go through to track down this type of problem. Is this a common mis-configuration type problem though I haven't come across it before.
View 14 Replies
View Related
Apr 14, 2007
I have a domain - xxx.com
I want to modify the dns zone so that xxx.com is redirected to subdomain.yyy.com.
I have modified the DNS Zone and pointed
xxx.com. 14400 A subdomain.yyy.com.
www 14400 CNAME subdomain.yyy.com.
But it is not working. I am on Linux Server with WHM/cPanel.
View 2 Replies
View Related
Jul 19, 2008
I want to wild card subdomain redirection
I want to like this when anyone type *.mydomain.com to will redirect to
[url]
how can i do this.
I have create A record for *.mydomain.com and also add in serveralias www.mydoamin.com mydomain.com *.mydomain.com
View 6 Replies
View Related
Apr 16, 2007
I am using joomla and a script called Olate Download for my site. So I have made olate to display in a joomla wrapper.
what i want to know is how to redirect the olate pages to the joomla wrapper. the pages when indexed in google etc are linked directly to the olate without the wrapper. so what i would like to do is redirect all the incoming olate links to the joomla wrapper ( i understand it will be same page) but also want the search engines to index the olate pages without any problems.
i think this can be done using htaccess. so someone please tell me how to create such a rule. it should redirect all the users which is not reffered from my site to the joomla wrapper except search engine spiders.
View 0 Replies
View Related
Nov 5, 2009
With new installation of WordPress, I started Permalinks as "/%year%/%monthnum%/%day%/%postname%/", but now I've decided to change it to "/%postname%/"
Existing URLs
Code:
[url]
New URLs
Code:
[url]
but I don't want to break existing URL, so I decided to have a new rule defined to do this, here is how my .htaccess currently look...
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^([0-9])/([0-9])/([0-9])/([0-9a-zA-Z-]+/)$ /$4 [R]
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
View 1 Replies
View Related
Sep 18, 2008
I've been asked to find a way to host our intranet externally without opening up the network.
The webserver accessible to the public domain is within an dmz. The intranet I need to serve is within our internal network.
I've managed to convince our network admin to open port 80 on the server running the intranet but I can't seem to find a way to proxy the content from the intranet server, through the webserver and to the user.
View 3 Replies
View Related
Mar 16, 2007
cPanel interface and want to create friendly link to access phpmyadmin. So, here is my questions:
1- Is there a way directly in cPanel to do it?
2- What is the better way to do this: Symbolic link or simple redirection?
View 1 Replies
View Related
Mar 22, 2007
it's possible to stop the redirection of a parked domain URL to my primary site.
For instance if my primary domain was abcd.com and i parked iloveyager.com ontop of it.
The redirection im talking about is this. If i go to
iloveyager.com/shots/ works fine.
however
if i go to iloveyager.com/shots (without the trailing slash) it will redirect me to abcd.com/shots
Doesn't mod_dir cover the redirection of a URL with and without a trailing slash?
I know there has to be a workaround for my problem and whether it lies in a .htaccess rewrite or modifying my apache conf is.
View 0 Replies
View Related
Jul 16, 2015
Our servers has been updated recently and my site is not working properly. It was working before the server change. When I click on the links, it doesn't update correctly, instead it gets the last cached data. I have to refresh each link for it to update which shouldn't be the case. I'm a front-end and have no access to servers. Could this be server-related?
View 1 Replies
View Related
May 26, 2013
I have a Public [82.x.x.x] and Private Apache Servers [192.168.20.100], and wish to redirect a series of subdomain requests i.e. for joomla.example.com or moodle.example.com on 82.x.x.x => joomla.example.com or moodle.example.com on 192.168.20.100.
joomla.example.com [82.x.x.x] returns joomla.example.com [192.168.20.100]
moodle.example.com [82.x.x.x] however returns joomla.example.com [192.168.20.100]
VHOST Configuration on [82.x.x.x]:
<VirtualHost *:80>
ServerName joomla.example.com
RewriteEngine On
RewriteRule ^(.*)$ http://192.168.20.100$1 [P]
</VirtualHost>
<VirtualHost *:80>
ServerName moodle.example.com
RewriteEngine On
RewriteRule ^(.*)$ http://192.168.20.100$1 [P]
</VirtualHost>
----------
VHOST Configuration on [192.168.20.100]
<VirtualHost *:80>
# joomla.example.com>
ServerName joomla.example.com
ServerAlias joomla.example.com
DocumentRoot /var/www/joomla/
ServerRoot /var/www/joomla/
ScriptAlias /cgi-bin/ /var/www/~cgi-bin/joomla/
ErrorLog /var/www/~log/joomla/error.log
CustomLog /var/www/~log/joomla/access.log combined
ErrorDocument 404 /404.htm
[Code] ......
View 2 Replies
View Related