Jump to content

Some Questions About Hosting


dbarak
 Share

Recommended Posts

Hello,

 

I'm currently redesigning our company's website, and I'd like to move it from our current, poorly-run hosting company to one that's well-run and responsive (yours seems to fit the bill so far). I have a couple of questions though...

 

1. Is it possible to temporarily host a site without an associated domain name? I'd like to fully develop our website on a new server, and once it's ready to go live, point the domain to the new server.

 

2. I've been testing a PHP script on our current server, one that allows a visitor (Joe Schmoe) to recommend a page to a co-worker (Sally Smith), etc. The script allows for the SMTP email to show the visitor's email address as the email's sender (the email, although sent to Sally Smith from the server, shows Joe Schmoe as the sender). However, our current hosting provider, in order to prevent spam, automatically switches the listed sender's email address to a default address in our domain. We're not interested in spamming people, so is it possible for our SMTP email to show Joe Schmoe as the sender of the email to Sally Smith? (Please pardon my over-clarification of the matter, but I've found that support people with other hosting companies I've contacted have a hard time grasping the concept. It seems as though you all have a clue. :) )

 

Thanks!

 

Dave Barak

dbarak@metricsystems.com

Link to comment
Share on other sites

welcome to the forum Dave :)

 

When you sign up you will receive a welcome e-mail that includes temp address

in the form of http://ip/~username

so you can upload via an Ip address and user name and view your site first with the temp address.

 

With php the temp address will not work with absolute php includes

like

include $_SERVER['DOCUMENT_ROOT']."/header_html.php";

but will work with include ("header.php");

 

You have 30 days to try out our services and if you are not happy you can cancel and get your money back.

 

you will find a mixture of very knowledgeable staff and family members here should you need any help.

 

 

as to the e-mail thing, I have not seen anything like that.

My php e-mailers work fine with the address I code into them,

I use php mail function.

Link to comment
Share on other sites

Welcome t the forum Dave,

 

While what you are proposing in #2 is possible it is can also be open to abuse by someone deciding to send links to a lot of folks that do not want to receive it.

 

If that happens it would be considered spam even if that was not your intention.

 

TCH has a zero tolerence for spam.

Link to comment
Share on other sites

Hi Don and Bruce,

 

Thanks for the super-fast answers! And they're the answers I was looking for, too. :)

 

I feel the same way about spam, and our only planned use of SMTP mail is for the link referral script. Our opt-in newsletter will be sent using software here in the office, and everything else we've got planned for the website involves email coming in to us, rather than going out.

 

Dave

Link to comment
Share on other sites

Hi Don and Bruce,

 

Thanks for the super-fast answers! And they're the answers I was looking for, too.  :)

 

I feel the same way about spam, and our only planned use of SMTP mail is for the link referral script. Our opt-in newsletter will be sent using software here in the office, and everything else we've got planned for the website involves email coming in to us, rather than going out.

 

Dave

Dave,

 

I saw your post and you can absolutely do what you want to do. Most of the CMS setups (Nuke, Post Nuke, etc.) allow this by default. However, I've got a standalone script running as well that performs this function. One thing that you might want to include in your code is to only allow a limited number of referrals to be sent from a given IP address within a defined time period.

Link to comment
Share on other sites

Hi Don and Paul,

 

Actually, the sender's email will come from a text box. In this case, if I see a page I think you might be interested in, I'd put my address in the sender's field, your address in the recipient's field, and fill out whatever other fields are needed. The email you get would have my email address as the return address, as opposed to a default address from our domain. Our concern is that someone may get a referral email, not recognize the sender's address, and then trash it.

 

Paul, good idea on the limit -- I remember seeing some scripts with that feature, and I think I can incorporate those snippets into this.

 

Dave

Link to comment
Share on other sites

Dave this sounds similar to a tell-a-friend script

I do not like them because anyone can send a message to someone else through my site. This was fine years ago, but in this day and age of spammers, it is abused.

 

You defiantly need to take precautions, like maybe have the e-mail goto you and then you can forward the e-mail after review.

Link to comment
Share on other sites

Don,

 

We opened a hosting account today, and I've found that any HTML file with a PHP extension, whether it has PHP code in it or not, will not be served until our domain is pointing to this server. I tried uploading a "test.php" file that had absolutely no PHP code in it, just the usual bare minimum HTML code and the word "test," and it didn't serve -- it just returned a string of error messages.

 

My question now is, if I use a different domain name for testing purposes, can I then switch our final intended domain name in its place when the time comes?

 

welcome to the forum Dave  :P

 

When you sign up you will receive a welcome e-mail that includes temp address

in the form of http://ip/~username

so you can upload via an Ip address and user name and view your site first with the temp address.

 

With php the temp address will not work with absolute php includes

like

include $_SERVER['DOCUMENT_ROOT']."/header_html.php";

but will work with include ("header.php");

 

You have 30 days to try out our services and if you are not happy you can cancel and get your money back.

 

you will find a mixture of very knowledgeable staff and family members here should you need any help.

 

 

as to the e-mail thing, I have not seen anything like that.

My php e-mailers work fine with the address I code into them,

I use php mail function.

Edited by dbarak
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...