Go Back   Zervex Forums > ServerCP Community > Q&A
User Name
Password
Register FAQ Members List Calendar Mark Forums Read
Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2005, 04:30 PM
monkeyboy121 monkeyboy121 is offline
Registered User
 
Join Date: Apr 2005
Posts: 5
monkeyboy121 is on a distinguished road
IP address

We have our DSM machine sitting behind a nat firewall. I have added the local ip address under system/ips so that I can add it to virtual hosts for apache to work correctly. I would like to create a reseller that can also setup hosts, but (preferrably) force them to use the internal IP for domains, or allow them to select the internal IP for hosted domains. Is there a way to do this?
Reply With Quote
  #2  
Old 04-20-2005, 05:41 PM
defunctiam defunctiam is offline
Registered User
 
Join Date: Dec 2002
Location: VA
Posts: 79
defunctiam is on a distinguished road
Re: IP address

I had to do this before. I modified the template in dreamweaver so that it only displayed the ip address that I wanted them to use (took out the dropdown list and replaced it with a hidden variable form element). Steve over there told me that they will be adding something to that sets the ip that is prefered as the default for resellers.

Mark
Reply With Quote
  #3  
Old 04-21-2005, 10:13 AM
monkeyboy121 monkeyboy121 is offline
Registered User
 
Join Date: Apr 2005
Posts: 5
monkeyboy121 is on a distinguished road
Re: IP address

Thanks, that does exactly what I want. For reference, the templates are in /usr/local/dsmn/int/templates/.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:07 PM.


Powered by vBulletin Version 3.5.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.