why www.prod.facebook.com opens as localhost? [closed] - facebook

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I had seen this domain name in facebook's presentation. But when I try to open. it redirect me to my localhost (WAMP). Open This Link of facebook's subdomain. Why It's redirecting me to my localhost.
MY QUESTION IS HOW CAN I SET UP SERVICE LIKE THIS ON MY OWN DOMAIN ?
I had attached preview as below, if you don't have wamp / xamp installed on your machine.
** It's my localhost

All they've done is mapped (via DNS) the hostname www.prod.facebook.com to the IP address 127.0.0.2. If you have control over your domain's DNS you can do that easily. I'm sure they did this so that the URL looked more official in the demo, rather than putting "localhost" in the browser's URL bar.

Related

Can I get access to router locale interface from internet? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Standart local address of router is 192.168.1.1 to administration interface. Can I get access to router from internet if I know IP adress of local network and IP of router?
First open your router to settings from internet is a big security risk.
But depending on your router should have an option like
Turn Remote Management On
Remote-access-router-from-outside-my-home

Create email account from Shell [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Here's the thing:
I have shell/ssh access to the remote host
I don't have cPanel or something like that
Domain is, lets say, mydomain.com
What I want is to create new email account, something like bounced#mydomain.com. That needs to be done via shell, as I don't have cPanel there.
I searched and searched and found tons of cPanel solutions, but non that covers shell.
Just to be clear: question is not how to send/receive emails, but to create new email account with username and password.
Any suggestion will be highly appreciated! :)
Well that really depends on the mail server, doesn't it?
From a quick google search, I found this for sendmail:
http://mohammednv.wordpress.com/2008/01/07/how-to-create-a-new-mail-account-in-sendmail/
You need to edit a file and call a program (useradd). I guess both as root.
You will have to find out what email server you are running and how to configure it/add users. Doing this from shell (or remote shell, doesn't matter) really is the normal way of doing this. So this isn't at all a question about programming. You might want to look at superuser or serverfault stack exchange sites.

ejabberd on localhost [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is it possible to install and run ejabberd on localhost (with localhost as domain) and connect to this from a client to experiment with client functionality?
The reason that I want to do this is to be able to play around with extensions that are not available on for example jabber.org.
It is indeed possible. If you use binary installer from ProcessOne, you are even asked by installer the domain name you wish to use.
sure its possible,and really easy too. You can use any xmpp server for that like openfire or ejabberd. And Thse servers have user friendly web interface for administration.

What is the IP address range for foursquare API? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm developing a Web service using a VM behind a firewall on a University. I need to know what a range of IP address to give to our IT guy so we can get access to calls from foursquare.
You'll never be able to reliably pin this down. It's not as if they are using one subnet.
Your IT guy needs to open up your firewall differently, based on your end, not Foursquare's.
Navigate to zoneedit.com in the DNS lookup field enter foursquare.com and in the dropdown select "Ip Address (A)" you will find only one record listed. After further research I found that Foursquare is hosted at Amazon Web Services and the most likely scenario is that thy will have have multiple servers hosted behind a single IP'ed load balancer. You will need to get the IPs for foursquare.co.uk or any other top level domains it may operate under (COM,NET,CO.UK and so on) but from what I can find CO.UK is the only other country it operates in.

postgresql accept dynamic dns hosts? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am doing work on a server with a postgresql database from home, where I have a dynamic IP, so I use the no-ip ddns service to map my ip to a host name.
I want to edit the pg_hba.conf file so that I can get into the database from home (not setting it to all hosts), but it doesn't seem to work with the host name. Is there anyway to make it work?
This won't work, because the DNS name in pg_hba.conf needs to match the reverse DNS- IP-to-name- lookup result for your IP address: this is assigned by your connectivity provider, and ddns doesn't touch it (just provides an extra forward- name-to-IP- entry).
I believe this functionality was introduced in v9.1: http://www.postgresql.org/docs/9.1/interactive/auth-pg-hba-conf.html
If you're using a version prior to that, you could write a cron-fired shell script that does the DNS lookup and dynamically creates the pg_hba.conf file. (You might have to do a HUP after changing it, not sure off the top of my head.)