Advertisement
hjysy

Temporary URL help

Nov 20th, 2019
748
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. Temporary URL help
  2. I know in cpanel you can use temporary URL's to help people preview sites and i know the amount of trouble it can cause, so i was wondering if we can instead of having a temporary URL such as http://ipaddress/~username we could use a spare domain name i have on the server?
  3.  
  4. ++++++++++++++
  5. list of top cheapest host http://Listfreetop.pw
  6.  
  7. Top 200 best traffic exchange sites http://Listfreetop.pw/surf
  8.  
  9. free link exchange sites list http://Listfreetop.pw/links
  10. list of top ptc sites
  11. list of top ptp sites
  12. Listfreetop.pw
  13. Listfreetop.pw
  14. +++++++++++++++
  15.  
  16. Is that possible? I know it won't really increase security but it won't immediately reveal the server IP
  17. Nathan Platt
  18. Solidblueliquid LTD
  19. https://solblu.uk
  20. Shared Hosting/Reseller Hosting/VPS, North East UK Based
  21. I know in cpanel you can use temporary URL's to help people preview sites and i know the amount of trouble it can cause, so i was wondering if we can instead of having a temporary URL such as http://ipaddress/~username we could use a spare domain name i have on the server?
  22.  
  23. Is that possible? I know it won't really increase security but it won't immediately reveal the server IP
  24. Well, you can use various ways to test your website before DNS propagation. If you want to use a domain name instead of a IP address, I consider that as a possible solution.
  25.  
  26. Setup your spare domain on the server and any new site can be added either to a subdomain like
  27. newsite1.yoursapredomain.com or yoursparedomain.com/newsite1
  28.  
  29. Other practical way to test your website before dns propagation is using the hosts. file on your computer or device.
  30. Warm regards
  31. L3Web Hosting - Web hosting services at your fingertips
  32. L3Tech Support - Support round the clock
  33. Okay, i think i've explained myself wrong. What i mean is, can i set my spare domain as a global test domain for cpanel or something like that?
  34. Nathan Platt
  35. Solidblueliquid LTD
  36. https://solblu.uk
  37. Shared Hosting/Reseller Hosting/VPS, North East UK Based
  38. Set an alias on the cPanel account you want to preview as sub.domain.com and then set up the DNS as required for that account.
  39. Stratagem Hosting - Lightspeed fast, forever.
  40. we could use a spare domain name i have on the server?
  41. We usually set up a folder on our main development domain and upload the site there for preview. As long as it's not using a database and you use relative linking, it works fine.
  42. Move over, coffee, this is a job for alcohol!
  43. It's way easier to use the HOSTS file method. This means you don't have to set ~userdir URLs on your app, just point it to the right IP (account's IP on new server).
  44.  
  45. Then your computer, and only your computer will see the domain as it appears on the new IP. You can upload a host.txt with the name of your host to each environment to ensure you hit the right version of the site.
  46.  
  47. hosting email xo
  48. domains g helppay
  49. b hostel brooklyn
  50. make money q es
  51. vikinghits.com
  52. believemefilm.com
  53. 1 host tick life cycle
  54. likesplanet.com
  55. section 8 housing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement