Networking :: Subdomains Behind Single IP?

May 4, 2009

Here is my network setup:

Internet <-> [public IP] Router [192.168.x.x] <-> Local
Local <-> DMZ
Local <-> HostB
Local <-> HostC

I have a system set up as a DMZ which works great for accessing SSH and other various services. I have a dyndns account that points to my public IP and allows me to access my DMZ box from around the world. I would like to make a subdomain of my current dyndns account and point it to HostB so that it can host a webserver on it, and have another subdomain point to HostC with a separate webserver on it. each would have SSH, FTP, Etc and have to not conflict with one another behind one IP. I don't even know if it is possible, but it seems like if there is a request for dev.host.homelinux.com that packet would have to hit [URL]and could be iptable'd to be routed to the appropriate local machine somehow.

View 2 Replies


ADVERTISEMENT

Ubuntu Networking :: Cannot Load Subdomains Ending With Underline?

Feb 10, 2011

I work as webdeveloper and I and my co-workers have one rule - if we are done with any project, we comment them with underline at the end of the directory name. For example we have domain 'devel.domain.com' and our projects are located on projectname.devel.domain.com' . Commented project looks like thisAnd here is the problem. I can not acces subdomains ended with underline. It works last time in 9.10 (i think), but since 10.04 gives me the browser only SERVER NOT FOUND. We are using this comment-method for 7 years without problems. Why is this problem in last two editions of Ubuntu?note: there is no problem with accessing ended projects under windows or osx.

View 2 Replies View Related

Debian :: Create SubDomains Using Terminal?

Aug 18, 2011

I am not using cpanel or anything, just SSH PuTTY client. my domain is [URL]now I want to craete a sub domain i.e [URL] , how will I create this ? so I can upload files to the sub domain

View 1 Replies View Related

Ubuntu :: Dig - Find Out All Subdomains Of A Domain?

Feb 21, 2010

i was looking for a way to find out all subdomains of a domain and i have found dig.But it doesn't seam to work how i sow in those tutorials.this is what i get:

PHP Code:[code]....

Is there other way that i can find out all subdomains of a domain?

View 1 Replies View Related

Ubuntu :: External Machines Can See Some Subdomains But Not All

Sep 16, 2010

I have a DNS server on my LAN at 192.168.140.25. Going by the example in the O'Reilly DNS and BIND book I bought, I set up the domain movie.edu and toystory.movie.edu. To my great surprise and delight, I can access toystory.movie.edu in a browser from another PC on the LAN (as long as I add 192.168.140.25 to the DNS servers). Encouraged by this victory, I decided to try to set up another subdomain at coupon.movie.edu. This kind of worked but not completely. Interestingly, I can get to both toystory.movie.edu and coupon.movie.edu on my server, but on my PC, I can only get to toystory.movie.edu, not coupon.movie.edu.

Here is my db.movie.edu:
Code:
$TTL 3h
movie.edu. IN SOA toystory.movie.edu. al.movie.edu. (
1 ; Serial
3h ; Refresh after 3 hours
1h ; Retry after 1 hour
1w ; Expire after 1 week
1h ) ; Negative caching TTL of 1 hour

movie.edu. IN NS toystory.movie.edu.
movie.edu. IN NS coupon.movie.edu.
;
; Host addresses
;
localhost.movie.edu. IN A 127.0.0.1
toystory.movie.edu. IN A 192.168.140.25
coupon.movie.edu. IN A 192.168.140.25

And here is my named.conf:
Code:
options {
directory "/etc/bind";
};

zone "movie.edu" in {
type master;
file "db.movie.edu";
};

zone "140.168.192.in-addr.arpa" in {
type master;
file "db.192.168.140";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};

zone "." in {
type hint;
file "db.cache";
};

#include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
#include "/etc/bind/named.conf.default-zones";

View 2 Replies View Related

Ubuntu :: Subdomains Point To Localhost?

Mar 31, 2011

I'm doing development on a site, let's call it mysite.com. mysite.com and www.mysite.com works fine, but proxy.mysite.com and dev.mysite.com point to the LAMP stack running on my computer. Pinging mysite.com gives me:

Code:
64 bytes from server.myhost.com (64.64.0.102): icmp_req=1 ttl=47 time=47.4 ms
Whereas dev.mysite.com gives me:
Code:
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=1 ttl=64 time=0.031 ms
Subdomains of any other site work fine. I am absolutely baffled. What in the world could be causing this? I haven't been messing around in /etc/hosts or anything like that.

View 3 Replies View Related

General :: Fedora13- Add Subdomains And Add Users To Them?

Oct 20, 2010

just wanted to know how to add subdomains, how to add users to those subdomains to send and receive mail in fedora 13.

View 3 Replies View Related

Server :: External Machines Can See SOME Subdomains But Not All?

Sep 16, 2010

I have a DNS server on my LAN at 192.168.140.25. Going by the example in the O'Reilly DNS and BIND book I bought, I set up the domain movie.edu and [URL]. To my great surprise and delight, I can access toystory.movie.edu in a browser from another PC on the LAN (as long as I add 192.168.140.25 to the DNS servers). Encouraged by this victory, I decided to try to set up another subdomain at [URL].

This kind of worked but not completely. Interestingly, I can get to both [URL] and [URL] on my server, but on my PC, I can only get to [URL] not [URL]. Here is my db.movie.edu:

Code:

$TTL 3h
movie.edu. IN SOA toystory.movie.edu. al.movie.edu. (
1 ; Serial
3h ; Refresh after 3 hours

[code]....

View 1 Replies View Related

Server :: Setup Subdomains On Ubuntu?

Jan 20, 2010

I have set up a dedicated server running Ubuntu Server Edition. I have apache2 installed and running great. I wish to let friends and family host their individiual websites on it, but I'm running into a bit of a dillema. It seems that my server automatically redirects them to my home page and not theirs.

[code].....

View 4 Replies View Related

Ubuntu :: Is The /etc/hosts File Related To Subdomains

Feb 16, 2010

I am trying to add subdomains on ubuntu 9.10 desktop edition and and I am not sure whether I need to add some info.(such as 127.0.0.1 sub1.example.com and so on) to the /etc/hosts file like the windows' windows/system32/drivers/etc/hosts file. I used to use the wamp-server(on Windows 7), I needed to edit 3 files, httpd.conf, httpd-vhosts.conf and hosts. And almost every edit is made in the httpd-vhosts.conf file on wamp-serveriles should be edited? or what else should be done that I didn't mention?

View 1 Replies View Related

Server :: Hosting Multiple Subdomains On 1 Dynamic IP?

May 16, 2009

I run my own DNS servers and host my own domains. I'd like to host a few subdomains of one of my domains on a server with a dynamic IP. Is there a way to do this? I *believe* that I can host one subdomain by using a CNAME record and a dynamic DNS service.

[code]....

How can I host more than one subdomain on a server with a dynamic IP address?

View 2 Replies View Related

Server :: Configure Name Based Severs And Subdomains?

Dec 12, 2010

When I first encountered this problem, I though it would be a simple solution, but i must just be missing something obvious.i have a few name based hosts configured in apache.when i go to "www.adomainname.com" i get the first website on this list, not "adomainname.com", as i would like. Does anyone have any ideas on how to fix this?here is the relevant part of my config files:

Code:
<VirtualHost *:80>
DocumentRoot "/var/www/httest"

[code]....

View 4 Replies View Related

Ubuntu :: DNS SRV Records - Subdomains Work On IP Address?

Apr 11, 2011

I am quite interested in one thing. I am trying to code my dns server that when I connect to one of my subdomains it connects not only to an ip address but to an ip : port address. For this I tried using SRV record, but with lack of success.

Dns server specification:
OS Ubuntu server 10.10 and using bind9
I have configured everything so that my subdomains work on an ip address, but I need some of them to work on ip : port too. In my brfconcept.lv.db file i used: (what I mentioned below isn't the full content of the file)

Code:
_http._udp IN SRV 0 5 27017 testing.brfconcept.lv
testing IN A 83.99.211.134
in my rev.0.168.192.in-addr.arpa i used: (what I mentioned below isn't the full content of the file)
Code:
134 IN PTR testing.brfconcept.lv

What I would want is not just for 1 service to aim at at the 27017 port but all services if its possible, when you enter testing.brfconcept.lv Is that possible and what am I doing wrong?

View 8 Replies View Related

Fedora Servers :: Automatic Subdomains On Local Dev Machine

Jul 28, 2011

I have working localhost on my Fedora 15. Directory tree look like this

Code:

/var/www/html/default
/var/www/html/projects
/projects/foo
/projects/bar

[code]....

View 2 Replies View Related

Server :: Apache Virtualserver To Forward All Mail - Subdomains?

May 8, 2011

I want to setup a mail virtualserver in apache so that a mail. subdomain whats pointed to the box will automatically goto my roundcube install. i have all of the document root stuff working, however, mail.* doesnt work for a server name.

View 1 Replies View Related

Ubuntu Servers :: Enable DNS To Manage Subdomains On Main Host?

Feb 12, 2011

I have a server with multiple domains and a DNS service (bind9) my main domain is registered with GoDaddy and it's A-record points to my server, it then has CNAME records with ns1 and ns2. I use ns1 and ns2 to point my other domains to the DNS server I host, which then manages what happens.

Anyway, what I would like to do is enable the DNS server to manage the subdomains on my main host. For example, if the domain was example.com and I use admin.example.com in the DNS server, it will not follow through unless I set the cname up, whereas my others will. How do I do a similar thing for my main domain.

View 2 Replies View Related

Programming :: Connect Multiple Sockets From A Single Client To A Single Server And Keep Them Open?

Oct 13, 2010

I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?

View 1 Replies View Related

Networking :: More Than One MAC Addresses On Single NIC?

Sep 25, 2010

My machine has ONE ethernet card and is on a LAN.IP address is assigned to hosts using DHCP.I can have more than one MAC address on LAN by running Virtual Machine and setting network to bridged. This way, my virtual machine simply acts like there is one more machine in the network.Running VMWare for this job is a a bit heavy on resources. Is there a way so that I can I can have 2 or more ip addresses with different MAC address on the same machine without having to run VirtualBox.

By googling, I think its related to bridging and tap. And, I am sure thatts NOT IP-ALIASING because in ip-aliasing both the ip addresses have the same MAC address.Basically, I want my system to have interfaces like:-eth0 - which was originally presentlo- thats always present :|newint0 - New interface with new MAC address and IP addresses which can access my LAN directly. Its like if I bind, let us suppose curl to this interface, its like a different connection

View 6 Replies View Related

Fedora Networking :: Multiple IP On Single NIC?

Jan 23, 2011

I've been trying to set multiple IP my Fedora 14 but nothing seems to work. Upon browsing the net, I found there are two ways for it. One is eth0:0~eth0:n nd another is eth0-range0. All are configs under network-scripts. But neither of them worked for me. Even grabbing a working example from my live server doesn't do the trick (though the server is a CentOS 5.5).

Currently using eth0-range0
ONBOOT=yes
IPADDR_START=192.168.1.127

[code]...

View 2 Replies View Related

Networking :: Simple Shaper On Single Pc?

Sep 20, 2010

I've been trying to create a simple htb qdisc on my computer for learning purposes, but it does not seem to be working as I want it to. Ive made this script that creates a simple qdisc scheme and assigns filters to it:

tc qdisc add dev $ETH root handle 1:0 htb default 1
tc class add dev $ETH parent 1:0 classid 1:1 htb rate 20kbps ceil 0kbps
tc class add dev $ETH parent 1:0 classid 1:2 htb rate 30kbps ceil 100kbps
tc class add dev $ETH parent 1:0 classid 1:3 htb rate 10kbps ceil 100kbps

[code]....

I want it to simply shape packets on my single machine so that when I go to view web pages it will limit the download rate, same thing for p21 ftp and 443 https. I just want to try out how it works and use these trial to get a hang of it, but I noticed so far that its not limiting port 80 at all.

View 2 Replies View Related

Networking :: Transparent Proxy In Single Pc?

Feb 21, 2011

trying to configure a transparent proxy with squid (and filter content with dansguardian) in Debian/Ubuntu. If i configure firefox to use it, it runs ok. I had seen a lot of iptables rules to use fowarding proxy to a lan, but i would like to use squid and dansguardin in a single pc that run them and filter web content.

View 5 Replies View Related

Ubuntu Networking :: Create A Single User ISP Over DSL?

Oct 28, 2010

I have a good question. I have a friend that lives in an area where he cannot receive DSL or Cable internet. He has a phone line, and physically able to get DSL, but the company won't give him service. He has Verizon wireless, but the reception is bad and his service gets dropped too much.

I however, have DSL 3.0Mbps and want to know how I could get him a DSL modem to dial up to my server at my house and receive internet. I know that I would probably need two phone lines to do this, but apart from that.

View 2 Replies View Related

Ubuntu Networking :: Using Lan And Internet Simulataneously Through A Single NIC?

Dec 22, 2010

I have been using ubuntu for more than 3 months now . I was wondering if could use LAN and Internet simultaneously in windows, why that should not work in ubuntu? I tried as much as I could, searched different forum and thought there is no way I can get around with it until recently I found a solution in a forum. For your information I use ppoe for connecting to Internet.

The solution was as simple as running this simple command sudo ifconfig eth0 192.168.x.x netmask 255.x.x.xI have replaced those x with my desired number. It worked like a charm! Now I could browse LAN shares and Internet simultaneously! How to do it and forget it? I mean I don't want to do it every time I dial my connection.

View 9 Replies View Related

Ubuntu Networking :: Two Desktop In A Single Installed 9.10

Apr 23, 2011

Can I have two ubuntu desktop in a single installed ubuntu9.10 such that two desktop has different ipaddress?

View 5 Replies View Related

Networking :: Bad: Two Sockets Of Different Ports In A Single Program?

Mar 4, 2011

I am trying to make a file proxy server...that is any request of file a client makes goes to the proxy server...it checks it in cache if not there then asks main server for the file. to act as a server for client and as client for server...how to do it in a single program. I tried with 2sockets with different ports one for client-proxy server and one for proxyserver-main server.But it does not workAm i doing something wrong or is there any other method

View 2 Replies View Related

Networking :: Box With 3 Dedicated IP's All Returning The Same Single IP Address?

Jan 20, 2010

I have a linux box, which was given to me by a company with 3 dedicated IP addresses. My goal was to setup ssh tunnels on all three dedicated IP Addresses.

Via Putty, i am successfully able to create a tunnel to the box's on IP1 IP2 and IP3 - that is i can make incoming connections on all three IP's.

However, my problem lies when i attempt to USE the tunnel. AIn all instances, regardless of the IP i actually tunneled into the box with, it returns IP1 as an outgoing connection, i.e if i setup IE to use the tunnel, it will return my IP as IP1, even though i have created the tunenl via IP2/IP3.

What id liek to accomplish is that when i create a tunnel via IP1, then outgoing connections go via IP1, and when i create a tunnel via IP2, then outgoping connectiosn go via Ip2 etc.

After discussing this with a colleague of mine, he infomed me he had the same problem at one point, and that some configuration on the box was required - however he was unable to recall.

View 2 Replies View Related

Networking :: Setting Single Sign On Using OpenLDAP?

Jan 24, 2011

configuring single signon using ldap

View 1 Replies View Related

Networking :: Single Direction Redirection On Bridge Br0?

Feb 9, 2011

I'm currently setting up a squid proxy which will be installed on a debian system configured as a bridge eth0/eth1 as br0. The problem I'm having is that port 80 requests are being proxied both ways where I only want the requests coming in via eth1 to be proxied.

Is there a way to do this? I've already tried changing the "-i br0" in the iptables redirection to "-i eth1" but no data appears to go through it.

View 2 Replies View Related

Networking :: Single LAN Port Inexplicably Changes RSA Host Key

Feb 19, 2010

I am running several servers with multiple LAN ports. Two of the machines can communicate via two separate subnets to control bandwidth issues.

Machine 1: 10.0.0.1 (w/ additional alias 12.0.0.1)
192.168.1.1
Machine 2: 10.0.0.2
192.168.1.2

I see three separate intermittent symptoms on the 10.0.0.0 network.
1) Both machines will cut off in the middle of the data transfer (rsync) if it takes too long.
2) Both machines will claim that the RSA key host has changed on the other...this will happen every few minutes.
3) Both machines will, at times, disallow login from the other...ssh prompts for password but will not accept the password.

Performing any operation between the same machines via the 192.168.1.0 subnet has no issue (as of yet).From what I can see, the routing tables are set correctly. Machines were exact clones of each other. Machine 2 is a recently rebuilt machine with a fresh suse11 distro install. Symptoms on Machine 2 appeared immediately. I had this exact setup but reversed ip addresses before Machine 2 burned out without issue. All networks but the 12.0.0.1 are internal and there hasn't been any indication of attack.At times, running ssh-keygen -R <ipaddress> will fix issues 1-3, other times only 1-2.

View 2 Replies View Related

Networking :: Single Server Running Apache On Two Lan's?

Jun 23, 2010

I have a single CentOS server with two separate NIC's. I was asked to install an internal Wiki on Apache but have that dedicated to one NIC so it's internal only. Then have just a site running on Apache on the 2nd NIC which is externally accessible. I have never done anything like this and would like tonow how difficult this would be on a single stand alone server that I have above?

View 1 Replies View Related







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