Domain forwarding or masking on local machine only? [closed] - dns

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'm sad to have to ask this question, but I'm not even sure of what to call what I'm trying to do, so Google isn't much help.
I'm doing some work on a company website from outside the company's network. Some of the assets on the site are loaded from a domain that is only visible from inside the company's network (QA) but there is a mirror of those assets on a public domain. How can I mask or forward requests to this internal domain (e.g.: http://qa.example.com/image.png) to the mirroring external domain on my laptop? (e.g. http://www.example.com/image.png). This is similar to what can be done using the host file for IP addresses. The reason I want to do this is so that the images aren't broken as I work on the site outside the office, and changing all the references in the web files is not an option. I'm on OSX Lion.
Again, sorry, dummy question, please don't flame :S
Thanks!

If the mirroring host (http://www.example.com) doesn't use host headers, you can do it through the host file, by mapping qa.example.org to www.example.com.
This will have your browser ask the www.example.com host for the http://qa.example.org/image.png. If www.example.com is configured to use host headers to control content served it will see the mismatched hostnames and fail to serve the content. In that case you need something more powerful.

Related

What do I need to provide, for someone to point their domain to my host? [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
I have a host and my own domain, lets say: www.mysite.com, on this host I have created a site: sub.mysite.com
Another person owns www.domain.com and I need him to point the domain to sub.mysite.com, however I am going away tomorrow and would like to just leave him the details he needs in order to point www.domain.com to sub.mysite.com, what would those details be?
Thanks,
-Anton
The Name Server addresses, which can be found searching here:
http://who.is
edit:
Bear in mind that in addition to changing the name servers for the domain, you will also need change your [host's] server configuration to manage the traffic redirection.
Name Server addresses point to a server, not a domain. You want the name servers to match for your current domain and the domain you want moving. This means they will both find the same 'computer'. It is down to the 'computer' (server) to then provide the right files; in this situation, it is achieved by configuring the server to forward traffic arriving from 'newdomain.com' to 'sub.olddomain.com'.
If using the CPanel web management control panel, this is done in the 'Addon Domains' section:
Enter the domain to be pointed in the 'new domain name' field, then set the 'Document Root' field to point to the folder hosting the contents of your subdomain. (e.g. /public_html/sub)

Do i need to add host name to DNS server [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
I am hosting and application in IIS. the application is a INTRANET APPLICATION.
Already the server has 2 application hosted in it with host names
site1.k.com and site2.k.com
k.com is my domain name.
I have give host name for my site as
site3.k.com
Do i have to make DNS entry for this.
If you have a wildcard dns entry such that <anything>.k.com goes to your server, then you don't need a specific DNS entry for site3.k.com, but it might make things easier down the road if you have it.
Of course, if you don't have the wildcard set up, and you need to have the url for site3.k.com work, then yeah, it'd be required.
Now, you mention that this is intranet ... if you have a windows server configured to broadcast that it's name is site3 via WINS service, then you might get away with not having the DNS entry, but this behavior is not reliable, because WINS may or may not route to remote sites, depending on WAN and/or VPN configurations, and will generally be a pain in the ass for support.

Plesk Panel 11 www prefix not working [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
i'm hosting websites from my customers using Plesk Panel 11, but when i try to reach a domain using the www. prefix, i get redirected to the Parallels Domain Default Page.
Customers keep their domain, but set the nameservers to mine, so i can manage the dns. In this way, my dns is always the master server. I already tried going to dns managing and reset the automatic www. prefix.
I have been working on this problem for two days already, and i really don't know what is going wrong.
Does anyone of you know a solution?
When you see "Domain Default Page" it's OK for new created subscription because it's a predefined content of site.
When you access site like www.domain.tld and see "Server Default Page" it's means that there is no "ServerAlias www.domain.tld" in last apache config file of domain.tld.
Last httpd config placed in /var/www/vhosts/domain.tld/conf/last_httpd.include
I suggest you to check domain name resolving for www.domain.tld and domain.tld and make sure that your web server is serve both domain names.

How to make new domain on local pc? [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
Can someone point me where I can find application/service used for creating NEW domain names?
If I want to create domain for example: somethingnew.com and I don't want to purchase it somewhere on net and redirect it on my pc, I want program/service that will allow me to own same way of registering as those online service have, just on my pc locally...
Is this possible?
I would like to use it with WAMP ( Apache ) server, if that is possible...
If anyone have any direction what would be useful, what program/service, I will appreciate that...
I try with Simple DNS Plus application, but it's not working okay...
Anyone have any suggestion?
You mean like with the hosts file? Just add your local domain names to your local PC's hosts file.
Edit file C:\Windows\system32\drivers\etc\hosts
Within place a line like this:
127.0.0.1 somethingnew.com www.somethingnew.com
This will cause your local system to resolve the above domain names to the local IP address.
This file is usually restricted access so you might need to be admin user.
I would like to use it with WAMP ( Apache ) server, if that is possible...
The SimpleDNS Plus tool you mentioned looks like a full DNS nameserver, which would only work with registered domains (nameservers are assigned to your registered domain).
WampDeveloper Pro, a WAMP application, has a LocalDNS tab that does the above, but is not a free tool.
HostsMan and HostsFileEditor, are some other options, though I've not used these two before.

Why do people hide their nameservers? [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
Sometimes when I look up the WHOIS information for some domains, I see that their nameservers are forwarded to a service like ZoneEdit or Domain Control. I've never understood what the purpose is for doing this but I have a feeling it has to do with hiding the nameserver so someone who does a WHOIS on the domain can't figure out which service the site is hosted under.
Can someone please explain this to me?
There is all sorts of reasons someone may use a service like this:
Their webhost doesn't provide DNS. Especially true for people running their own VPS (you'd need 2, for backup DNS).
Their webhost provides DNS, but it is bad; it is slow, it drops out, whatever it may be.
They use multiple webhosts and want to keep all the DNS in one place.
I'm sure there's many more, but these are the obvious ones.
On a related note, for many web hosts you can look up the owner of the IP range that the web server is in if you want to know what company is ultimately hosting a website. This will turn up some info, though the company that owns the IP may not be the person that is being paid directly by a site owner for hosting on that IP.

Resources