• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How to preview subdomains without dns

J

jackkalduu

Guest
How to preview subdomains without dns

How to preview subdomains without dns
onl using ip
 
What OS are you running on your personal computer? If it is windows, you can fool your computer into thinking that the subdomain points to a different ip address(the new one), rather than the old one. This will let you test it out before actually changing it over.
 
Open C:/WINDOWS/system32/drivers/etc/hosts in notepad

On the bottom of the file, add the following line

ipa.ddd.res.s domainName

For example, to map ebosa.com to 82.165.184.105, you could add this:

82.165.184.105 ebosa.com
 
Ok i did that. And what now? is ex. ebosa.com web on new server? And how can i see subdomain just name.ebosa.com ?
 
Well, you would put name.ebosa.com instead of ebosa.com in the file. And for the ip address, you would put the new ip address for that server. Then, restart your computer, and name.ebosa.com will point to the new ip address when you try to access it from your server.
 
And each time I change address I have to restart computer?
 
Ok thanks blkl5184


;) what if edit hosts
and do it like that

ip1 subdomain1
ip1 subdomain2
ip1 subdomain3
.....

will it work?
 
Yes. My file has about 1 to 35 entries in its file at any given time. I just map them to 127.0.0.1 while I am developing a script, and then I remove them, and ftp the script to the server. Since my local machine and the server use the same OS, it removes the possibility of breaking the site in a code roll out. Very usefull. Do you know much about compiling and installing php on a plesk server?
 
Wouldn't it be:

ip1 subdomain1.domain.com
ip2 subdomain2.domain.com

not

ip1 subdomain1
ip2 subdomain2

Just takin' a stab in the dark here. ;)
 
Ok it works. Great thanks.

No I wanted to know if it will work for the same Ip and it is.
ip1 subdomain1
ip1 subdomain2

Sorry blkl5184 I no nothing about compiling and installing php on a plesk Server
 
Ok now I have Got different problem after migration and pointing dns I notice that all of my websites are working horribly slow. I just changed from cpanle to plesk the same datacenter and better server what can by wrong. Also I cant access websites like www.name.com only name.com ? Please help. ;(
 
Back
Top