These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Need Help in Creating a Subdomain that points to an external IP on the new forum.
Hi!
First of all, sorry if I really sound dumb.
I have a website, www.domain.com hosted on a VPS server (Linode), but I need a sub-domain (news.domain.com) to point to an external ip (111.111.111.111). The problem is after setting up a sub-server that is pointed to 111.111.111.111 (external ip) whenever I'm navigating to news.domain.com it displays server DNS address could not be found.
Here's what I did:
I also didn't change anything from the server configuration template.
I also waited 30 mins before checking just to be sure that the changes in the master zone is properly applied.
Did I miss something? Is it really possible for Virtualmin to handle this setup and if not, any other way to do it without redoing all over again?
Thanks in advance!
You might need to wait more than 30 mins. DNS propagation can sometimes take 24-48 hours. I use redirect to get any domain to "forward" to another by using this index.html code:
<html><head><meta http-equiv="refresh" content="0;url=http://DOMAIN/"></head>
<body><a href="http://DOMAIN/">http://DOMAIN/</a></html>
(DOMAIN in the above sample can be in the form of example.com or 111.222.333.444)
I would double-check your DNS provider... DNS configuration to allow all subdomains automatically should include a "*" in the DNS record.
https://en.wikipedia.org/wiki/Wildcard_DNS_record
Hi, you can do apache proxy or create subdomian and point to dif. IP at register level or setup very simple redirect via htaccess - those are easiest.
Configuring/troubleshooting Debian servers is always great fun