How do I approach hosting multiple sites from one server? For instance, if I were to offer to host another website at my server along with mine. How do I handle the domain name if I only have 1 IP and 1 server? I wouldn't want them to use a sub domain, but be able to use their own domain name.
I'm using a linux server, and I have 1 static IP address. I'm not actually doing this, but I'm very curious on how to do it. I hope my question is clear, I'm not entirely sure what to ask yet.
However, for Windows what I have done is host my website on Azure with Umbraco as the CMS. Umbraco allows you to set pages to be served up based on the incoming requested domain. And you can point multiple domains to that single Azure/Umbraco instance. So it's really one website (all running the same DLL's and using the same memory and such), but the returned content is different depending on the URL requested.
Since you are using Linux and assuming want the sites to be somewhat autonomous, then the link above is probably your best bet.
hi My name is Nataraj, Im working as a system admin for a small org. In my office we have 2 window server 2003 domain controllers ( 2 different domain controller ). my questions are how do i create trust relationship between 2 domain controllers.
how do i creat a global user.
pls note that the domain controllers are not primary and secondary domain controllers.
i want to send back data from server to client,
i receive the request on the server using the function doGet
is there any way to send data using httpServletResponse but not by using outputstream?
i meas something like this
response . SetAttraibye(attName,attValue)
and if there is , how can i extract that value on the client
thank you very much
I am using paypal sandbox to doing testing, however after click the continue button that i wish to complete the transaction, but the page is keep loading. So i click to go back on the browser, and then click to go forward again, then it will only display "You've already completed your purchase. Please click Close to continue to the merchant." My problem is i want it auto return me the success page, but not click the back and forward to view the return to merchant. thanks you
I'm trying to build DHCP packet in then send it via UDP ( "0xff.0xff.0xff.0xff", 67 port ).
I have sucessfully connected to my DHCP server, but I have problems with first packet structure ( DHCPDISCOVER ) as I see, but I have built it from RFC && Wiki, and have checked all fields/size in bytes of these fields.
Here is the code in C# ( don't argue , this code is only for testing purpose to check the work of DHCP protocal and structures of packet ): http://pastebin.com/9NXuHyrw
I have initialized the body of discover dhcp-packet in class and you can check the struct of it ( size, right fields ).
We cannot even begin to guess. Try doing some debugging and narrow down to the actual issue. Then describe the problem in detail, including expected and actual results and perhaps show the code where the problem occurs.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
As we know that if we have enabled directory listing then all files and folders will be listed if we do not have index.* or default.*
I have used htaccess to auto prepend a php script thinking that it will run instead of the default directory script. but it works only for scripts like php and not for html or other extensions.
So here what i want is i want to do my custom directory listing but i don't want to put an index.php in all folders with my custom code... whereas i want to autoprepend my custom directory listing script in htaccess but this is not working...
so i want to run my custom script for directory listing
Besides, i am in a shared hosting so i cannot modify config files. htaccess is working.
so what is the way to do a custom directory listing?