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


ADVERTISEMENT

Ubuntu Servers :: Get Apache To Point To Addresses Like "localhost" Or Outside Ip?

May 31, 2010

I am planning on installing an Apache server today. I know how to get it to point to addresses like "localhost" or my outside ip, but how do I get it to point to a URL like [URL]? (That's just an example URL)

View 4 Replies View Related

Ubuntu Networking :: Point To Point Tunneling Server Connection Errors?

Mar 28, 2011

I recently installed the pptpd server on my system and set it up according to these instructions:HTML Code[URL]t=132029However after setting everything up on attempting to connect to it from a windows machine (windows 7 home premium to be specific) it gives me two errors which are 720 and 800...It reaches "registering your computer on the network" fine and then gives 720 on the first attempt to connect and then 800 on the second attempt to connect...and then on the third 720 and 4th 800 and so on..My system running the server's I.P is 192.168.1.70My system running the windows OS trying to connects I.P is: 192.168.1.66

View 2 Replies View Related

Ubuntu Networking :: Point To Point (ad-hoc) SSH Over USB Or Ethernet?

Jun 3, 2010

I was wondering if there is any way to SSH from one computer to another and completely bypass a router or any other network infrastructure. The reason I ask is because my robot ( same one in this post ) often needs to change which wireless network it automatically connects to, however it is getting annoying to have to drag out a monitor and plug it in along with a keyboard and mouse every time this needs to happen. Instead I'd much rather just plug my laptop into the other computer, SSH in and change the network myself.

So I thought I would ask you kind people if this is possible. The robot's computer has unused ethernet and USB ports, and I'd like to use those if at all possible (and with linux, anything is possible! -- sorta). I thought about doing something with ad-hoc, but this would limit my range (in infrastructure mode I can control the thing anywhere there is internet), and is to be avoided.

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

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

Networking :: Policy Routing Using Two Point-to-point Links?

Aug 27, 2009

This one has been driving me nuts for some days now:My Gentoo box which is acting as an internet gateway has two point-to-point interfaces, ppp0 (PPPoE to my ISP) and ppp1 (PPTP VPN link to IPREDator). Packets from my local network are just routed through ppp0 and now the fun part starts: I want to MARK (netfilter...) all packets originating from one specific user on that box in order to use another routing table that will contain a default route via the ppp1 interface.Marking seems to work fine as does the second routing table. But quite mysteriously (at least for me), the packets sent out on ppp1 contain the wrong source IP address, namely the address associated with ppp0.So here is what ifconfig and friends tell me:Network interfaces:

Code:
# ifconfig ppp0
ppp0 Protokoll:Punkt-zu-Punkt Verbindung

[code]...

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

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

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

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

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

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

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

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

General :: /localhost Recursion/cache/iptables - Allow Localhost Recursion But Deny Recursion To External Clients?

Mar 8, 2011

I am a newbie in Linux. I have Fedora 13 OS 32 bits. I am working with PowerDNs and Poweradmin. How can I configure this with PowerDNS?

1. Allow localhost recursion but deny recursion to external clients. Is there a tutorial for that?

2. Set up cache nameserver for localhost (like caching-nameserver in Bind).
Is there a tutorial for that?

3. My Master Server with PowerDNS is working well from localhost but external clients cannot access it.

I have iptables with these rules:

[Code]....

View 1 Replies View Related

Server :: DNS Fail: Can't Resolve Subdomains, Server Giving Wrong Response?

Jul 13, 2010

I've got a DNS problem I cannot figure out. I've been digging and pinging all day and I've waited for caches to expire and I'm not having much luck.From my desktop mac, I can't seem to resolve mail.port-o-call.net:

Code:
My-Mac:~ sneakyimp$ ping mail.port-o-call.net
ping: cannot resolve mail.port-o-call.net: Unknown host

[code]....

View 4 Replies View Related

Ubuntu Networking :: PVM Cannot Add Localhost 9.10?

Feb 9, 2010

PVM 3.4.6 cannot add localhost. It says it can't find pvmd3, but why is it even looking for that when that is not part of the installation?

View 2 Replies View Related

Ubuntu Networking :: Tries To Go Through Localhost For Everything

Jun 6, 2010

So i was trying to Wget some files from a server to test how much i know about Wget. Running Karmic.I think it connecting to localhost is wrong right?

View 5 Replies View Related

Ubuntu :: Cannot Connect To Localhost:631?

Jul 18, 2010

I cannot log into 'localhost:631' to install my printer. I reinstalled cups files to no avail. Why do you think I cannot login?

View 3 Replies View Related

Ubuntu :: Can't Connect To Localhost?

Aug 2, 2010

Get the usual message of when theres network/connection problems:Unable to connect Firefox can't establish a connection to the server at localhost. I could access it a few hours ago, but now I cant Have not restarted the computer since, have not really done anything out of the ordinary either. Why is it doing that and how to solve it? I have never got this problem before.

View 2 Replies View Related

Ubuntu :: How To Change Localhost For External IP

Jan 2, 2010

I have a problem with showing localhost (my website is on it) on the internet, so that everyone can see it. On Windows all you have to do is:open httpd.conf change ServerName 127.0.0.1 for your own IP and it works.On Linux there is is empty httpd.conf, and configuration file apache2.conf doesn't have any address to change.It looks like, that I have to enter my IP somewhere or some of my settings are wrong:first computer (vista) second computer (ubuntu 9.10), cable net providerwhat I did:-activated DMZ, in my router settings and added Host IP Address: 192.168.1.100 -active dhcp (no changes)Windows side:in TCP/IPv4 instead of automatic ip and dns I have entered my own:

Address IP: 192.168.1.103
Mask: 255.255.255.0
Gateway: 192.168.1.1

[code]....

View 9 Replies View Related

Ubuntu :: Firefox Can't / Server At Localhost

Jan 4, 2010

I have two machines running Ubuntu 9.1, both with Firefox 3.5 fitted, working well, apart from an error on one machine.When trying to download a Torrent I get the error "Firefox can't establish a connection at the server at localhost: 12322".The other machine is fine without this error.I have searched the Firefox files and this forum, plus a variety of sources but cannot find an answer, apart from "use the other machine".

View 4 Replies View Related

Ubuntu :: Hostname Is Getting Set To 'localhost' On Startup?

Feb 22, 2010

Everytime I turn on the computer, the hostname is getting changed back to localhost.

Code:
cat /etc/hosts
127.0.0.1najilelocalhost
# The Following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet

[Code]....

(side note: man hosts says that the name is based off the hostname file, but that's clearly not the case here. It's being named off the /etc/hosts file. Why did we move away from /etc/hostname? It's SOO much easier)

These computers (It's more then one) were all installed with the minimal Ubuntu disk and then installed basic software such as xorg, nautilus, gdm, and openoffice.

View 4 Replies View Related

Ubuntu Networking :: Suddenly Don't Have Localhost?

Mar 30, 2010

I tend to forget stuff if I don't work with it for awhile. somehow I struggled through and figured out (with a lot of help) how to set up Ubuntu Intrepid server edition on my computer, and am serving my website from my computer. For times when the free DNS nameserver is 'closed' (often lol) I use localhost and can see/work on my site. Suddenly, when I type localhost into the address bar, I get a blank page, nothing! I'm not sure what to do....can someone please help because am going to use my website to present a class project, and was going to use localhost (bring my computer) in case the nameserver was down, I have to be able to display it.

View 3 Replies View Related







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