I'm new to host my ruby on rails application on the server. I have bought a server from Atlantic.Net and running my project on a port let's say port-3001. Now I'm unable to set my domain to my IP and a specified port. Please suggest anyone what and how to do... ?
15994
This is a  about DNS/Hostnames resolution to IPs/Ports   Example 1  I'm running a web server on port 80 and another on port 87. I would like to use DNS so that www.example.com goes to port 87. How can I accomplish this using DNS only?  Example 2  I'm running a service on my server on a non-standard port. How can I get clients to connect to this non-standard port automatically? Can I use DNS? Is there some application specific support where DNS could indicate the IP and Port?   Example 3  Do some application protocols specifically support hostname awareness, and allow special actions to be taken based on this information? Are there other questions on Server Fault that cover some of these?  Commandeering: This question was originally asking about running IIS and Apache on the same server, but the same concepts can be applied to any server software receiving connections from clients. The Answers below describe the technical problems and solutions of using DNS and application protocol support to assign a port number for a client to connect.
123705
Currently, my server is running Ubuntu Server. I had the domain "rosresurs.msk.ru". A bit later I've bought a new domain called "rosresurs.net". But when I ran dig command, I saw, that old domain is linked to my server's IP. I've looked to both DNS zones. In .msk.ru there is no server's IP. Domain .net has PTR record. Also, I asked for help my domain hosting. Thay said, that it is out fault. I've searched the whole system for rosresurs.msk.ru and its IP address. I've deleted all that entries. But after 2 days nothing changed.
67640
The server works fine via the Amazon assigned DNS entry, but I cannot reach it (using a browser) via the Elastic IP address Amazon assigned the box. Ping does not work either. I am trying to confirm it is reachable before I add the IP address to my own DNS entries.
60162
I've created accounts and hostnames within my  account, which is by  far the most commonly used service for my type of server. Can somebody walk me through the configuration process of using ddclient with no-ip, as I'm a command line noob?
70118
My apologies if this has been asked before. I haven't found an adequate solution so... yeah.  When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go to port 80 as expected and interact with Apache.  When a different sub-domain, "mc.example.com" is accessed, I don't want it to access the Apache web server. I want it to go interact with a different program, listening on, say, port 4096. Thus, going to "mc.example.com" would have the same/similar function as "example.com:4096". The service is Minecraft  When a third sub-domain, "vpn.example.com" is accessed, I want it to go interact with a different service, listening on, say, port 687. The service is openVPN  Is there a simple way to do this? If so, what is it? Does it involve configuring a VirtualBox in Apache (a method I tried and failed miserably. xD)? Or can it be done using ipTables? If it means anything, I am running 32-bit Centos 5.5(I believe. Its a recent version of Centos)
42811
Sure I'm not the first one that tried to serve a domain example.com from a example.net/bbb, but I haven't found a solution yet.  My NGINX configuration follows the  and looks something like this:  server {     listen 80;     server_name example.net;     root /path/to/aaa;      location /bbb/ {         proxy_pass http://example.com/;         proxy_set_header Host $host;         proxy_set_header X-Real-IP $remote_addr;     }      location / {         try_files $uri $uri/ /index.html;     }     location ~ \.(svg|ttf|js|css|svgz|eot|otf|woff|jpg|jpeg|gif|png|ico)$ {         access_log off;         log_not_found off;         expires max;     } }   I can manage to render the root of example.com in example.net/bbb but:  ISSUE 1  example.net/bbb/some/path doesn't work as expected and the index.html of example.net is rendered.  ISSUE 2  Any asset in example.com/assets gives 404 because the browser look for example.net/assets. Be great if I could solve this without placing absolute paths everywhere.
48848
So I've set public IP on the hosts file for a certain public IP address, but it picks up private ip from nowhere or from DNS.       Content of windows hosts file C:\Windows\System32\drivers\etc\Hosts             210.210.210.10 my.domain.com     nslookup my.domain.com             10.10.10.10             10.10.10.11             10.10.10.12   I want it to resolve to Public IP i assigned in the file, instead of the private IP it shows when I lookup my.publicdomain.com.   Anyway to fix this? Has anyone experienced such issue? ipconfig /flushdns does not help. Just saying.
74994
Greetings all,  I have a server with two tomcat services (one being run on port 80, the other 8080).   What I'm wanting to achieve is to have two different DNS records for these two ports, so they'll be accessible via:  http://example1/ http://example2/   Instead of  http://example1/ http://example1:8080/   I know this isn't possible using DNS A records, but does anyone know of another solution I could look into?  Thanks,  Andrew
7625
You can reach this IP address  (if my computer is online). I want to assign a domain to it so I wonder how is that possible when I have no DNS? I do own my domain which is ".com". My IP is static.  Thanks
93823
Say you own a abcd.com and you only want to use it to send and receive email via bob@abcd.com. You don't want to provide any kind of website.  Can you set up the DNS records to include an "MX" record and no "A" record?   Is this enough for sending and receiving email to work? Is this valid in terms of whatever standard defines these things?     Edit: To clarify, the mail server (terminology?) would not be hosted on abcd.com or *.abcd.com
102040
I have the following virtual host setup:  RailsBaseURI /  &lt;VirtualHost *:80&gt;     ServerName mydomain     DocumentRoot /usr/share/redmine/public      Alias /evaluation /home/user/evaluation/      DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm      &lt;Directory /usr/share/redmine/&gt;         Options +FollowSymLinks Indexes         AllowOverride All         Order allow,deny         Allow from all     &lt;/Directory&gt;      &lt;Directory /home/user/evaluation/&gt;         Options +FollowSymLinks Indexes         AllowOverride All         Order allow,deny         Allow from all     &lt;/Directory&gt; &lt;/VirtualHost&gt;   When I go to mydomain/evaluation, I get an error. But when I go to mydomain/evaluation/index.php, it works. What am I doing wrong here?  Update: I have confirmed that the request is routed to Redmine instead of being handled by Apache. Any ideas?
10329
I am running multiple web servers in my house, each of which is plugged into my router.  Server A Server B Server C  I currently can only use one server since my IP (xx.xxx.xx.xx) port 80 is pointing towards server A. However some domains point to server A, some to B, etc.  With my one IP address, how do I point to each server? For example my A(host) records all point to just my IP address.  Sorry if I sound confusing. Let me know if I am not being clear.  Each server is running Ubuntu Server 12.04.02 and is using Apache (if that helps). My router is also a Netgear and my ISP is Time Warner Cable.
20987
I have some subdomains I want to redirect to specific ports on the same server. Say I have  dev.mydomain.com    I want dev.mydomain.com to transparently redirect to mydomain.com:8080 and I want to preserve the original sub-domain name the url of the browser.  How do I do this with Apache 2.2? I have Apache 2.2 running on default port 80. I can't figure out the write configuration to get this to happen.  I have already set up dev.mydomain.com to resolve in DNS to mydomain.com.     This is for an intranet development server that has a non-routable ip   address so I am not so concerned about exploits and security that   would compromise a publicly facing server.
114353
I am after as lightweight as possible solution to listen on a port for a specific request, then run a command should the port be hit and the correct request be recedved.  Eg. Send a request to 192.168.0.10 on port 5432 with the string my_token. On the host (eg. 192.168.0.10), then run a command should that port be hit and the string matched.  I was initially thinking of using netstat (eg. nc -l 5000) then running the command on change. However, ideally a string or token of sorts would be ideal alongside this or similar, but without using a full-blown webserver - essentially something that can run in the background with few resources.
112958
Is it possible to redirect connections to a specific IP/port to an external IP/port?  Example:   Server A has the external IP xxx.xxx.xxx.xxx Server B has the external IP yyy.yyy.yyy.yyy User sends a request to server A on port 2106, I want to redirect it to server B at port 2106.
70626
So I have my own windows server, and on it I am using Multicraft to host multiple Minecraft servers. I have also purchased a domain through google. I have a subdomain set up for each Minecraft server instance on different ports, as well as a subdomain for the Multicraft webserver. All domains work fine, but my issue is I only want multicraft.example.com to direct to the webserver, however all other subdomains when put into a web browser instead of Minecraft also direct to the Multicraft panel. I've looked at  but it does not answer my issue. I have the pointers already working with A records and SRV records for the webserver and Minecraft server. But because they're on the same IP, every subdomain for a Minecraft server points to the webserver. I only want the webserver domain to point to the webserver. Not the Minecraft subdomains.
108784
In the installation documentation to RoR it mentions that there are many limitations to running Ruby on Rails on Windows, and in some cases, whole libraries do not work.  How bad are these limitations, should I always default to Linux to code / run RoR, and is Iron Ruby expected to fix these limitations or are they core to the OS itself?  EDIT Thanks for the answer around installation and running on Linux, but I am really trying to understand the limitations in functionality as referenced in the installation documentation, and non-working libraries - I am trying to find a link to the comment, but it was referenced in an installation read me when I installed the msi package I think  EDIT Thanks for the references to IronRuby lately, it is certainly a project to watch, and as it, obviously, is a .NET language, it will be invaluable if it lives up to the promises. Eventually, however, in my case, I just bit the bullet and installed an Ubuntu server.   &lt;bias&gt; I should've done it years ago &lt;/bias&gt;