LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2018, 01:46 PM   #1
Adirondacks
Member
 
Registered: Oct 2018
Posts: 98

Rep: Reputation: 0
Preventing Reverse-Lookup on a Website/Server


Hello all! I currently have a Linux VPS with a web host which is intended to host a website that I am building for my business.

Because I have lots of extra space, I was hoping to set up a side area which I can use as a personal "Dropbox" when I need to share something with others. For instance, maybe I write some script to automate something on my server, and I wanted to share it with some of you to look at my code.

I am planning on spinning up a second instance of cPanel on my VPS and dedicating that for this temporary workspace.

My concern, however, is this...

I do NOT want someone to be able to go to this seperate website/IP address/cPanel account and then be able to link it back to my main cPanel account/website. Furthermore, I sure as hell don't want people to be able to link things back to my webhost or me personally in the physical world!!

Why the concern?

Because maybe I want to share some code or a content or audio or video with an acquaintence online temporarily so they can help me figure something out, but for privacy and security reasons, I want things to end there, and not having someone get a whole bunch of info on me that could put me at risk - at at the very least make me feel uncomfortable!

I guess I am naive enough to think that if I set up a separate cPanel account with a separate IP address that would be all I need to main anonymity.

But a tech at my web host makes it sound like it is much more difficult than that?!
 
Old 10-18-2018, 09:21 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Quote:
Originally Posted by Adirondacks
But a tech at my web host makes it sound like it is much more difficult than that?!
I would tend to agree. Why not do what I do? Use a google drive, or a cloud drive from someone like mega.nz, pass links to what I want to share to who I want to share it with.
 
Old 10-18-2018, 09:46 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Hey there:

"Personal Dropbox"? Like Open or Next Cloud?

Your concerns...
Password Protect the asset using "basic authorization" available via Apache's htpasswd utility.
Code sharing sites are everywhere. (termbin.com, a slew of pastebins from every possible *Nix outfit.)
I'm a huge fan of
Code:
deny all
allow from ipa.ddr.ess-1
allow from ipa.ddr.ess-2
I implemented my own using the software from termbin.com.
It is text-only but someone can "send" stuff to me, but cannot view the URL from the submission directly.

Put your dropbox on a non-standard port. (Say 777 for this exercise)
csf deny (all to) 777
Allow an exception for IPs you want to allow, to port 777
htpasswd with Basic authorization

3 layers of Access Control for this "dropbox"-like solution
Everyone has to use (a, or the|their) password when accessing the site.
htpasswd can have a single entry for a password, or several (one per visitor)

Hope that clears things up a bit.

John out.

Last edited by Habitual; 10-18-2018 at 09:49 AM.
 
Old 10-18-2018, 11:32 AM   #4
Adirondacks
Member
 
Registered: Oct 2018
Posts: 98

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Habitual View Post
Hey there:

"Personal Dropbox"? Like Open or Next Cloud?

Your concerns...
Password Protect the asset using "basic authorization" available via Apache's htpasswd utility.
Code sharing sites are everywhere. (termbin.com, a slew of pastebins from every possible *Nix outfit.)
I'm a huge fan of
Code:
deny all
allow from ipa.ddr.ess-1
allow from ipa.ddr.ess-2
I implemented my own using the software from termbin.com.
It is text-only but someone can "send" stuff to me, but cannot view the URL from the submission directly.

Put your dropbox on a non-standard port. (Say 777 for this exercise)
csf deny (all to) 777
Allow an exception for IPs you want to allow, to port 777
htpasswd with Basic authorization

3 layers of Access Control for this "dropbox"-like solution
Everyone has to use (a, or the|their) password when accessing the site.
htpasswd can have a single entry for a password, or several (one per visitor)

Hope that clears things up a bit.

John out.
Thanks, but you missed 95% of my concerns...

Again, I do NOT want someone to be able to go to "my-temp-space.com" and be able to trace that back to my new IP address and then somehow link that back to my web host and my VPS and then to my primary IP and then to my primary domain and then to my business and then to me and my home!!

To me, if I buy "my-temp-space.com" and register using privacy mode, and then buy a 2nd IP for my VPS, then that should be enough to separate things from my primary IP address which hosts my business website on the same VPS.

Make sense?

This tech support guy was spouting off about how a 2nd IP address wouldn't give me anonymity and through a "reverse IP lookup" people could link things back to my primary ebsite and to me.

That is what I am concerned about - not about someone stealing my files. (An htaccess file with a password that I share with a select few will resolve that issue.)

And the reason I want to put my files on my own server and a 2nd instance of cPanel is because then I maintain control. (I have learned the hard way in the past that the minute you post "your" ideas/content/media on someone else's website then you are F***ED...)

Hope that helps explain things better!
 
Old 10-18-2018, 12:38 PM   #5
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,732

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by Adirondacks View Post
Thanks, but you missed 95% of my concerns...

Again, I do NOT want someone to be able to go to "my-temp-space.com" and be able to trace that back to my new IP address and then somehow link that back to my web host and my VPS and then to my primary IP and then to my primary domain and then to my business and then to me and my home!!

To me, if I buy "my-temp-space.com" and register using privacy mode, and then buy a 2nd IP for my VPS, then that should be enough to separate things from my primary IP address which hosts my business website on the same VPS.

Make sense?

This tech support guy was spouting off about how a 2nd IP address wouldn't give me anonymity and through a "reverse IP lookup" people could link things back to my primary ebsite and to me.

That is what I am concerned about - not about someone stealing my files. (An htaccess file with a password that I share with a select few will resolve that issue.)

And the reason I want to put my files on my own server and a 2nd instance of cPanel is because then I maintain control. (I have learned the hard way in the past that the minute you post "your" ideas/content/media on someone else's website then you are F***ED...)

Hope that helps explain things better!
A domain can always be resolved to an IP address.
Code:
dig domain-name
will yield the IP address of the domain. That's what DNS does. Resolve domain names to IP addresses. Yes, you'll need to use a privacy service to hide the domain owner contact information.

The IP address "owner" can then be identified by
Code:
whois IPaddress
...but that will be the ISP that you got the IP address from...not you.
Example: If your VPS is hosted at AWS, the whois will indicate that it is an AWS IP, but there should be nothing that indicates you're using it, or who you are.

Other than that both your IPs would be issued by the same ISP, there should be no connection between the second IP and the first, although they'd need to be on the same sub-net if they're on the same VPS, I'd think. I'd expect them to be adjacent, but you might be able to work something else out with your ISP.

If you're not running email on the "dropbox" server, there'd be no reason to even have a rDNS for the IP, 'tho even if you did, there's still nothing there to relate the two IPs to each other, or to you. rDNS only returns a domain name for the entered IP address (see man dig)

Does that clarify things any?

-----

Edit: An afterthought. I don't know from cPanel, but I'm wondering why you'd a separate instance of it. It's certainly possible to have two IP addresses on the same server and manage which service(s) use which IP address.

If you wanted to use a web server to provide your dropbox functionality, you'd configure the web server to listen on both addresses, and have your business website only respond on IP1 and the dropbox function only on IP2.

If you were going to use ftp, then the ftp server would be configured to only listen on IP2.

Same for sftp ('tho I think you'd need to run two instances of sshd, one for each IP...if you also wanted ssh/sftp on IP1...not sure about that).

Last edited by scasey; 10-18-2018 at 01:53 PM.
 
Old 10-18-2018, 05:05 PM   #6
Adirondacks
Member
 
Registered: Oct 2018
Posts: 98

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by scasey View Post
A domain can always be resolved to an IP address.
Code:
dig domain-name
will yield the IP address of the domain. That's what DNS does. Resolve domain names to IP addresses. Yes, you'll need to use a privacy service to hide the domain owner contact information.
Yeah, I guess I knew that much even if I didn't say it. My point was I don't want someone to be able to go from my temporary domain back to my server and then to my other domain and website and then to me.



Quote:
Originally Posted by scasey View Post
The IP address "owner" can then be identified by
Code:
whois IPaddress
...
Where does that go?

(Truth me told, I am on Windows right now and I run a Mac primarily, but my VPS is on a Linux box.)


Quote:
Originally Posted by scasey View Post
but that will be the ISP that you got the IP address from...not you.

Example: If your VPS is hosted at AWS, the whois will indicate that it is an AWS IP, but there should be nothing that indicates you're using it, or who you are.
So short of hacking my web-host, knowing that "my-work-space.com" resolves to 111.222.333.444 which is located on a server at "ACME Web Hosting and Welding" is about all WhoIs would yield, right?

And unless someone hacked into ACME Web Hosting's servers, then their knowledge should also end their, right?



Quote:
Originally Posted by scasey View Post
Other than that both your IPs would be issued by the same ISP, there should be no connection between the second IP and the first, although they'd need to be on the same sub-net if they're on the same VPS, I'd think. I'd expect them to be adjacent, but you might be able to work something else out with your ISP.
Since I bought my VPS two years ago, if I buy a 2nd IP address now, it should be significantly different from my primary IP. Although there may be a way to see that they both point to the same server?

And to dig a little farther on that...

If someone went to my-work-space.com and found it resolved to 111.222.333.444 on to a server at ACME Web Hosting.

And even if they somehow knew about my-real-business.com and that it resolved to 555.666.77.888 on a server at ACME Web Hosting, then would there be any possible way to link the two websites/IPs back to my web hosting account or me??

My guess is "No", but I am not an expert at networking, and thus is why I am here asking!!


Quote:
Originally Posted by scasey View Post
If you're not running email on the "dropbox" server, there'd be no reason to even have a rDNS for the IP, 'tho even if you did, there's still nothing there to relate the two IPs to each other, or to you. rDNS only returns a domain name for the entered IP address (see man dig)
I have set up my own DNS, but I don't understand what "rDNS" is.

Can you please explain a little more?


Quote:
Originally Posted by scasey View Post
Edit: An afterthought. I don't know from cPanel, but I'm wondering why you'd a separate instance of it. It's certainly possible to have two IP addresses on the same server and manage which service(s) use which IP address.
When I said "a 2nd instance of cPanel" I was referring to creating a 2nd cPanel account in WHM on my VPS. (I consider that a "2nd instance", however I was not implying that I have two separate installions of cPanel running!)



Quote:
Originally Posted by scasey View Post
If you wanted to use a web server to provide your dropbox functionality, you'd configure the web server to listen on both addresses, and have your business website only respond on IP1 and the dropbox function only on IP2.

If you were going to use ftp, then the ftp server would be configured to only listen on IP2.

Same for sftp ('tho I think you'd need to run two instances of sshd, one for each IP...if you also wanted ssh/sftp on IP1...not sure about that).
Are you saying have one IP address and then route accordingly?


If I have one IP address that maps to two domain names, then I would assume that it would be extremely easy for someone to link my two websites togther, right??
 
Old 10-18-2018, 05:39 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,732

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by Adirondacks View Post
Yeah, I guess I knew that much even if I didn't say it. My point was I don't want someone to be able to go from my temporary domain back to my server and then to my other domain and website and then to me.
Yes, I got that.

Quote:
Originally Posted by Adirondacks View Post

Where does that go?

(Truth me told, I am on Windows right now and I run a Mac primarily, but my VPS is on a Linux box.)
whois accesses the Network Information Center that applies to the IP being queried. You can see what it does by going to whois.arin.net in a browser and entering a US IP address, if you can't run whois on the command line on the Mac...or you could ssh to your VPS and try the whois command.


Quote:
Originally Posted by Adirondacks View Post
So short of hacking my web-host, knowing that "my-work-space.com" resolves to 111.222.333.444 which is located on a server at "ACME Web Hosting and Welding" is about all WhoIs would yield, right?

And unless someone hacked into ACME Web Hosting's servers, then their knowledge should also end their, right?
Right.



Quote:
Originally Posted by Adirondacks View Post
Since I bought my VPS two years ago, if I buy a 2nd IP address now, it should be significantly different from my primary IP. Although there may be a way to see that they both point to the same server?
It's not about time, it's about network interfaces (also NIC). Absent two network interfaces to two different routers (and two network cables), the IP addresses will need to be on the same subnet.
The size of that subnet is managed by the ISP/Hosting company.
Quote:
Originally Posted by Adirondacks View Post
And to dig a little farther on that...

If someone went to my-work-space.com and found it resolved to 111.222.333.444 on to a server at ACME Web Hosting.

And even if they somehow knew about my-real-business.com and that it resolved to 555.666.77.888 on a server at ACME Web Hosting, then would there be any possible way to link the two websites/IPs back to my web hosting account or me??

My guess is "No", but I am not an expert at networking, and thus is why I am here asking!!
No is correct.

Example: the whois of my home Cox IP address returns
Code:
NetRange:       70.175.64.0 - 70.175.127.255
CIDR:           70.175.64.0/18
which is some 16,320 IP addresses belonging to Cox. Pretty hard to say which one is mine.

The whois of one of the five IPs on my production server returns a /21 CIDR, which is more than 2,000 addresses, belonging to "ACME Web Hosting"

There's nothing there that says which five are mine.

Quote:
Originally Posted by Adirondacks View Post
I have set up my own DNS, but I don't understand what "rDNS" is.

Can you please explain a little more?
rDNS = Reverse DNS. The PTR record that points an IP to a hostname.



Quote:
Originally Posted by Adirondacks View Post
When I said "a 2nd instance of cPanel" I was referring to creating a 2nd cPanel account in WHM on my VPS. (I consider that a "2nd instance", however I was not implying that I have two separate installions of cPanel running!)


Are you saying have one IP address and then route accordingly?


If I have one IP address that maps to two domain names, then I would assume that it would be extremely easy for someone to link my two websites togther, right??
No, the other way 'round. Two IP addresses on one server, and connect services (http, mail, ssh) by to an IP address.

If you have two IP addresses, you configure your web server to listen on both addresses, then set one VirtualHost (apache) for the business site on one IP, and another VirtualHost for the "dropbox" site on the other IP.
 
1 members found this post helpful.
Old 10-18-2018, 09:12 PM   #8
Adirondacks
Member
 
Registered: Oct 2018
Posts: 98

Original Poster
Rep: Reputation: 0
Thank you for the responses. Lots of good information, but also a bit overwhelming!

Sorry if you said this above, but is it correct that for what I am trying to accomplish, I would be better off buying a 2nd dedicated IP address from my web host and installing/mapping it to my VPS, so that my primary IP would be for my main website, and the new 2nd IP address would be for this temporary work area?


Quote:
Originally Posted by scasey View Post
No, the other way 'round. Two IP addresses on one server, and connect services (http, mail, ssh) by to an IP address.

If you have two IP addresses, you configure your web server to listen on both addresses, then set one VirtualHost (apache) for the business site on one IP, and another VirtualHost for the "dropbox" site on the other IP.
Sorry, but you are losing me here...

I have a Linux VPS running WHM and cPanel. I would like to create a 2nd cPanel account under WHM on my VPS because I believe that would help segregate my two websites.

I understand what a webserver is, yet I guess maybe I don't on my VPS.

When I think of webservers I think of Apache, but for my main website I have never had to touch Apache except for a .htaccess file.

I *think* that cPanel takes care of setting up a websier (e.g. Apache) automatically for you, right?

So if I create a 2nd cPanel accoount, and map the 2nd IP address to it, and then I set up DNS to point "my-workspace.com" to this 2nd IP address, then what do I have to do as far as the "webserver" goes?

To be clear, on this workspace, I would just be dropping work files into the Web Root and then I would protect them with an htaccess password. So the workflow might be... I write an article or create an audio file or maybe a video, and then I use cPanel to upload these files to my WebRoot. They cannot be viewed without the htaccess password. I would then email the person he;ping critique my work and give him the (temporary) password. He could go to: my-workspace.com and would see links to the files which he could view or download after entering the correct password. After maybe a day, I would change the password adn remove the files. That is the workflow I was envisioning.

During all of this, going to or knowing about my-workspace.com should in no way enable this person to find out anything else about me other than I use ACME Web Hosting.

Unless this person hacked ACME Web Hosting, or somehow found out other information about me, he would have no practical way of ever knowing that my-workspace.com is sitting on my VPS which also hosts my-business.com, which by virtue of its name would basically tell you who I am and how to find me in real life!

So back to your webserver comments above which sound complicated...

Once I create that 2nd cPanel account and create the "DNS Zone" file which would map my domain to my 2nd IP, wouldn't that be all that I need to do??

There would be no email. And nothing fancy with ports or routing. Just a 2nd cPanel account mapped to my-workspace.com and an htaccess file, and maybe some files sitting in WebRoot and that's it.

Now, fwiw, on my primary cPanel account and primary IP, I do have a fairly elaborate setup. (Or more correctly, I have WHM set up pretty fancy. I have a Host Access Control set up, ports and IP's blocked in CSF, a services SSL and a domain SSL, and other "hardening" things to keep my VPS safe.

Would any of this interfere with, or exposure me, as far as this 2nd cPanel account, 2nd IP address, and 2nd domain name go??

Hope all of that makes sense?!

And hopefully I am getting closer to getting this done??

(I would *really* like to have this set up by Sunday night, so I can get bac to uploading some files and get help on some things I am doing from some kind "experts" online!!

Thanks!!
 
Old 10-19-2018, 03:28 AM   #9
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,732

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by Adirondacks View Post
Thank you for the responses. Lots of good information, but also a bit overwhelming!

Sorry if you said this above, but is it correct that for what I am trying to accomplish, I would be better off buying a 2nd dedicated IP address from my web host and installing/mapping it to my VPS, so that my primary IP would be for my main website, and the new 2nd IP address would be for this temporary work area?
To do what you described; have a second domain that is not connected in any way with your primary domain, yes, you'd need a 2nd IP address at a minimum.

Quote:
...
When I think of webservers I think of Apache, but for my main website I have never had to touch Apache except for a .htaccess file.

I *think* that cPanel takes care of setting up a websier (e.g. Apache) automatically for you, right?

So if I create a 2nd cPanel accoount, and map the 2nd IP address to it, and then I set up DNS to point "my-workspace.com" to this 2nd IP address, then what do I have to do as far as the "webserver" goes?
Sorry, I can't help you with how to configure anything using cPanel. I don't use cPanel. I configure my webserver (yes apache) in my favorite text editor.
Quote:
To be clear, on this workspace, I would just be dropping work files into the Web Root and then I would protect them with an htaccess password. So the workflow might be... I write an article or create an audio file or maybe a video, and then I use cPanel to upload these files to my WebRoot. They cannot be viewed without the htaccess password. I would then email the person he;ping critique my work and give him the (temporary) password. He could go to: my-workspace.com and would see links to the files which he could view or download after entering the correct password. After maybe a day, I would change the password adn remove the files. That is the workflow I was envisioning.
Yes. Note that the "web root" will be different for the second IP

If web space is at /var/www/html, you'd configure domain1/IP1 to serve from /var/www/html/domain1 and
domain2/IP2 from /var/www/html/domain2. Neither would be able to see or serve the other. This is done with VirtualHosts in apache.

Quote:
So back to your webserver comments above which sound complicated...

Once I create that 2nd cPanel account and create the "DNS Zone" file which would map my domain to my 2nd IP, wouldn't that be all that I need to do??
No, you'd also need to set up the VirtualHosts in apache.
Quote:
There would be no email. And nothing fancy with ports or routing. Just a 2nd cPanel account mapped to my-workspace.com and an htaccess file, and maybe some files sitting in WebRoot and that's it.

Now, fwiw, on my primary cPanel account and primary IP, I do have a fairly elaborate setup. (Or more correctly, I have WHM set up pretty fancy. I have a Host Access Control set up, ports and IP's blocked in CSF, a services SSL and a domain SSL, and other "hardening" things to keep my VPS safe.

Would any of this interfere with, or exposure me, as far as this 2nd cPanel account, 2nd IP address, and 2nd domain name go??
I'm not sure what WHM is, or CSF, but you'd need to apply whatever security you want if you set up a new cPanel account. Again, I don't speak cPanel, so I'm not sure exactly what you're thinking.

To do what you've described, you need a 2nd IP and VirtualHosts in your apache configuration.

Note: You can do what you want (two separate, non-related domains) on a single IP. We host websites. There are about 70 domains on our web IP address, belonging to several different customers. All anyone can find out about any of them is the hosting IP address. There are some search engines that will show all of the domains at a given IP address, but there is no other 'relationship' between them.

There is no rDNS for that IP (we host email on a different IP address on that server), so there is nothing pointing from the IP to any of those domains/websites.

Quote:

Thanks!!
You're welcome. You're going to have to learn how to create VirtualHosts (there may be a cPanel tab/page to do that, IDK).

Last edited by scasey; 10-19-2018 at 03:30 AM.
 
1 members found this post helpful.
Old 10-19-2018, 05:48 AM   #10
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by scasey View Post
The IP address "owner" can then be identified by
Code:
whois IPaddress
...but that will be the ISP that you got the IP address from...not you.
This is incorrect.
What will be returned will depend on the IP address delegation. Some ISP / Hosting companies can require that the the users of static IP addresses have them fully delegated, although this is generally only the case when you "buy" a range of IP Addresses. In which case a whois lookup will return that delegation information.

As for the OP's original request;

Get a totally separate VPS from a totally different ISP, the more separation you have between your business interests and your "private interests" the better!
 
1 members found this post helpful.
Old 10-19-2018, 05:58 AM   #11
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,732

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Re #10
Not arguing. I’m sure that’s true in some cases, but I use whois extensively. It seldom resolves to a /32, and even when it does, it still reports the ISP, not the end user. Whois is querying the NIC, not the ISP.

The OP can run whois on his IP to see what comes back, of course.

I agree with the your recommendation. To get total separation, separate totally.

I also think they should just use Dropbox, iCloud or some other sharing service instead of reinventing the wheel.

Last edited by scasey; 10-19-2018 at 06:07 AM.
 
1 members found this post helpful.
Old 10-19-2018, 06:07 AM   #12
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by scasey View Post
Re #10
Not arguing. I’m sure that’s true in some cases, but I use whois extensively.
I've had to fill in delegation requests for companies I've worked with extensively.
Quote:
Originally Posted by scasey View Post
It seldom resolves to a /32, and even when it does, it still reports the ISP, not the end user.
Depends on how the ISP works. I'd agree it's unlikely for a /32 but if the OP orders another IP address it's possible his provider will delegate a block, even if it's a block of just 2.

Quote:
Originally Posted by scasey View Post
The OP can run whois on his IP to see what comes back, of course.
This is, of course, the best course of action to see what is actually returned.
 
1 members found this post helpful.
Old 10-19-2018, 12:02 PM   #13
Adirondacks
Member
 
Registered: Oct 2018
Posts: 98

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by scasey View Post
To do what you described; have a second domain that is not connected in any way with your primary domain, yes, you'd need a 2nd IP address at a minimum.
Okay.


Quote:
Originally Posted by scasey View Post
Sorry, I can't help you with how to configure anything using cPanel. I don't use cPanel. I configure my webserver (yes apache) in my favorite text editor.

Yes. Note that the "web root" will be different for the second IP

If web space is at /var/www/html, you'd configure domain1/IP1 to serve from /var/www/html/domain1 and
domain2/IP2 from /var/www/html/domain2. Neither would be able to see or serve the other. This is done with VirtualHosts in apache.


No, you'd also need to set up the VirtualHosts in apache.
I am pretty sure this is why people use WHM and cPanel - because it takes care of all of that for you.

I will have to check with some cPanel experts on this.


[QUOTE=scasey;5916616]
Note: You can do what you want (two separate, non-related domains) on a single IP. We host websites. There are about 70 domains on our web IP address, belonging to several different customers. All anyone can find out about any of them is the hosting IP address. There are some search engines that will show all of the domains at a given IP address, but there is no other 'relationship'
between them.
[quote]

True, although if one website was my-worspace.com then you would know that that "anonymous" ultimately is related to one of the other 69 "real" websites, and so I suppose someone might be able to connect the dots as to my temporary website to my real site based on other social engineering things, but I think that would be enough "separation" for my needs.



Quote:
Originally Posted by scasey View Post
There is no rDNS for that IP (we host email on a different IP address on that server), so there is nothing pointing from the IP to any of those domains/websites.
So at the end of the day, what damage exactly can "reverse DNS" do?

my-workspace.com maps to 111.222.333.444

Okay, then what??



Quote:
Originally Posted by scasey View Post
You're welcome. You're going to have to learn how to create VirtualHosts (there may be a cPanel tab/page to do that, IDK).
I am thinking that cPanel does that and that things are siloed, because think about it...

MOST web hosts in the world use WHM and cPanel. So if you were hosting 70 websites on your server, you would have 70 cpanel accounts. And who would use WHM and cPanel if people could easily jump between cpanel accounts or even link website-A to website-B??

Then again, I am asking and double-checking to cover my a**! :-)
 
Old 10-19-2018, 12:09 PM   #14
Adirondacks
Member
 
Registered: Oct 2018
Posts: 98

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TenTenths View Post
This is incorrect.
What will be returned will depend on the IP address delegation. Some ISP / Hosting companies can require that the the users of static IP addresses have them fully delegated, although this is generally only the case when you "buy" a range of IP Addresses. In which case a whois lookup will return that delegation information.
So what does that mean to me in practical terms?

My webhost told me that when I "buy" a 2nd dedicated IP that I am basically "leasing" it and that the webhost owns it and so presumably all of their info is associated with the 2nd dedicated IP as with my primary VPS IP.



Quote:
Originally Posted by TenTenths View Post
As for the OP's original request;

Get a totally separate VPS from a totally different ISP, the more separation you have between your business interests and your "private interests" the better!
I don't diagree with this, but the whole reason I am asking for help, is that I don't want to pay an extra $70/month for this side project...
 
Old 10-19-2018, 12:12 PM   #15
Adirondacks
Member
 
Registered: Oct 2018
Posts: 98

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by scasey View Post
Re #10
Not arguing. I’m sure that’s true in some cases, but I use whois extensively. It seldom resolves to a /32, and even when it does, it still reports the ISP, not the end user. Whois is querying the NIC, not the ISP.

The OP can run whois on his IP to see what comes back, of course.
So please explain again how I would do that...

Can I effectively do that from a web browser?

Or must I SSH in to my VPS? If so, then what?


Quote:
Originally Posted by scasey View Post
I agree with the your recommendation. To get total separation, separate totally.

I also think they should just use Dropbox, iCloud or some other sharing service instead of reinventing the wheel.
But a secondary concern of mine is that once I put my content on another person's site or service I technically lose control of it.

Sure, I doubt that Dropbox is caching or stealing people's info, but I would feel better uploading it and deleting it on my own server instead.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse-IP Lookup LInxia Linux - Networking 4 05-08-2011 04:31 AM
reverse ip lookup marsques General 1 09-27-2010 12:27 AM
[SOLVED] bind reverse zone; no name with reverse lookup deadeyes Linux - Server 3 10-12-2009 09:54 AM
bind reverse lookup thesnaggle Linux - Software 1 03-11-2004 06:19 PM
Bind reverse lookup Kostko Linux - Networking 2 12-07-2002 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration