ISPConfig, Testing website without domain name - ispconfig

I have a VPS with ISPConfig 3. I just create a website and ftp access.How can I test my website without domain name ?

You could edit your local /etc/hosts to match your VPS IP & domain.
x.x.x.x domain.tld
Where x.x.x.x should be replaced by your VPS IP address.
Save the file and hit your domain.tld in the address bar.

Related

Trying to setup a personal ANS server. Not able to bind domain name

Goal:
My goal is to setup a web server and an ANS server for my website at home where it is publicly available. I can access the webpage through my public IP address outside of my network, but can't figure out how to bind that address with the domain name I purchased on namecheap.com.
What I'm Running:
I'm using
VirtualBox 6.0.4
; 3 guest machines that are running Ubuntu 18.10 (for a primary and secondary dns server and a web server)
; my host machine is running Windows 10
; bind9 for ANS (DNS) and apache2 as a web server
; and my domain name was purchased at namecheap.com
What I've Done:
I've followed the instructions on this page to setup the DNS servers : https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-an-authoritative-only-dns-server-on-ubuntu-14-04
The network setting on VirtualBox(VB) is set to "bridged adapter."
On my router, I've opened (http) port 80 for the IP address of my apache web server and (tcp/udp) port 53 for the IP address of my primary DNS server.
My questions:
I'm unclear as to which IP addresses to put in at namecheap.com under "custom DNS"?? The IP addresses of my DNS servers in VB or the IP address of the DNS servers that is provided by my router? If it's the latter, then how do I add them to the named.conf files?
Considering that the public IP address of your router does not change, you should do port forwarding in the router for your VB to be accessed from the internet, then use your router's public IP to configure in namecheap.

Fusionpbx login fails after IP address change

I have a similar problem. My first network had a IP address range 192.168.1.xx and my freepbx server had 192.168.1.2
However now I need to move to a new network which has IP address in the range 192.168.2.xx and my freepbx server had 192.168.2.2
Now if I try to login to my freepbx server connected to the new network, the login always fails. Can anyhow help how to ensure freepbx/freeswitch will work on the new ip address?
thanks, -Anish
The users are per domain in FusionPBX. If you don't login with "user#192.168.1.2" then it will default to domain 192.168.2.2 that you use to access the website.
Once you have logged in you can edit the domain to change it's name. Also check for the old IP address in the variables.

Mikrotik direct ip to server on subnet

Please, advice on how to set the public IP address/domain name for a web page to be forwarded to a specific server machine on a subnet (say, 192.168.1.77). Can this be done via Mikrotik GUI interface?
An outside IP or assigned domain do not do this automatically, Mikrotik doesn't pick up the server behind a subnet if one does not set the path to it. I've seen a couple of tutorials assigning a server IP address in Mikrotik terminal with "masquerade" command but wonder if this can be done via Mikrotik Webfig GUI.
You need 2 things:
dst-nat to WEBserver
Default route on WEBserver set to Mikroitk
/ip firewall nat add chain=dstnat dst-address=PUBL.IC.I.P dst-port=80 or 443 action=dst-nat to-addresses=192.168.1.77
You must disbale /ip service www and www-ssl for using port 80 or 443
If Mikrotik isn't default route to internet for WEBserver say to me and I will explain how to do
For testing if it's working, you must test by other connectiont outside your LAN ( maybe smartphone without wifi)

Access local site with subdomain on iPhone

I understand that you can access your computer's local site from a mobile device running on the same network by entering your computer's IP address (with relevant local port) into the address bar. However, I often use subdomains for development. On my local I access subdomains using lvh.me. For example:
blog.lvh.me
However, this will not work for mobile because lvh.me is redirecting to the IP 127.0.0.1 .
Is there a way to access a subdomain on an IP address? Essentially, doing the same thing as the above code but allowing for a dynamic IP address depending on the IP my computer has at the time?
So, after continuing research, I found an awesome tool that allows for exactly the above functionality:
xip.io
For example, if my computer has the IP address of 124.4.1.3 and I was running a web server at blog.lvh.me, where lvh.me redirects to localhost or 127.0.0.1, I could access my computer's localhost from another device on the network using blog.124.4.1.3.xip.io
I hope that helps someone!
Sidenote: The app in question was running on a rails server and the above setup required the following setting to be added to the environments/development.rb file:
config.action_dispatch.tld_length = 5
As rails was running on port 3000, this also required a url like:
blog.124.4.1.3.xip.io:3000

How to connect YMSG (Yahoo IM service) by server IP

I need a IM client that support yahoo and allow user to set yahoo IM server address.
Yahoo IM servers names (scs.msg.yahoo.com, scsa.msg.yahoo.com, scsb.msg.yahoo.com, scsc.msg.yahoo.com) are not accesible through my company LAN, so I should use IP addresses of their servers.
We can find ip of a domain name by simply pinging that domain name.
My problem was related to another network issue (port 443 was blocked) but initially I supposed that it relates to server ip address.