ispCP - Board - Support
how to connect to the website of client via IP address? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: how to connect to the website of client via IP address? (/thread-7276.html)



how to connect to the website of client via IP address? - zeldavn - 07-22-2009 05:46 PM

when we add a new user with a new domain. We can connect to the website of the user via the domain. However, if they don't have the domain yet and they want to use the IP instead. Where is their main page if they want to view the index?
For example, in cpanel we can connect to the client's website through http://123.456.789.123/~username/. How about ISPCP?


RE: how to connect to the website of client via IP address? - kilburn - 07-22-2009 08:55 PM

The easiest way: modify your (the one from your CLIENT machine) hosts file and put the domain there resolving to the server's IP.

The hard alternative: see this thread, where someone asked the same as you...


RE: how to connect to the website of client via IP address? - zeldavn - 07-22-2009 11:06 PM

NO, what I want is connect to the index of the website via IP. Now if I connect via the IP server, if connects to the login ISPCP control panel. I want to connect to the website of clients not the login ISPCP


RE: how to connect to the website of client via IP address? - kilburn - 07-22-2009 11:35 PM

You can NOT. Each website runs under its own REAL user, so the master/default virtual host (the panel) has NO WAY to access the client's website files.

Your only option is the one I explained on the above linked thread, where you'll be creating ServerAliases for the websites VirtualHost under a wildcard dns record (domain.name.admin.yourdomain.com).


RE: how to connect to the website of client via IP address? - zeldavn - 07-23-2009 03:40 AM

ok, one more question. How can I view the website of the client. I mean view, not access their file. for example, example.com to view but they didn't active the domain yet? how can I view their website?


RE: how to connect to the website of client via IP address? - joximu - 07-23-2009 08:45 PM

Hi zeldavn

you are asking three times the same question.

either you setup your client pc (where your browser is) so it knows whats the IP of the domain example.com or you setup ispcp to always add a special WebAlias like "example.com.yourdomain.com" or vu2004.yourdomain.com - it has been discussed in the forum several times.

Theres no domain/~user because of the permission/owner settings.

/J